diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2f69b4471fd..20e20c7b43f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.80.1" +channel = "1.81" components = [ "rustfmt", "clippy" ] diff --git a/rust/db_proto/src/gen.rs b/rust/db_proto/src/gen.rs index 15e4e0cf6c6..3e36aee09dc 100644 --- a/rust/db_proto/src/gen.rs +++ b/rust/db_proto/src/gen.rs @@ -827,7 +827,7 @@ mod tests { fixed(fixed_offset = fixed_offset, (0)), }, { - name(l), type (crate::meta::Length), size(fixed = fixed), + name(l), type ($crate::meta::Length), size(fixed = fixed), value(auto = auto), docs(concat!("`", stringify! (l), "` field.")), fixed(fixed_offset = fixed_offset, ((0) + std::mem::size_of::())), }, @@ -843,7 +843,7 @@ mod tests { fixed(no_fixed_offset = no_fixed_offset, (0)), }, { - name(d), type (crate::meta::FixedArray<4, u8>), size(fixed = fixed), + name(d), type ($crate::meta::FixedArray<4, u8>), size(fixed = fixed), value(no_value = no_value), docs(concat!("`", stringify! (d), "` field.")), fixed(no_fixed_offset = no_fixed_offset, ((0) + std::mem::size_of::())),