diff --git a/test_suite/Cargo.toml b/test_suite/Cargo.toml index 3e2aaefb..9a3c3315 100644 --- a/test_suite/Cargo.toml +++ b/test_suite/Cargo.toml @@ -24,4 +24,4 @@ rustversion = "1.0" serde = { path = "../serde", features = ["rc", "derive"] } serde_derive = { path = "../serde_derive", features = ["deserialize_in_place"] } serde_test = { path = "../serde_test" } -trybuild = { version = "1.0.49", features = ["diff"] } +trybuild = { version = "1.0.66", features = ["diff"] } diff --git a/test_suite/tests/ui/remote/wrong_ser.stderr b/test_suite/tests/ui/remote/wrong_ser.stderr index d7584cdf..bc0fed05 100644 --- a/test_suite/tests/ui/remote/wrong_ser.stderr +++ b/test_suite/tests/ui/remote/wrong_ser.stderr @@ -1,17 +1,17 @@ error[E0308]: mismatched types - --> tests/ui/remote/wrong_ser.rs:9:10 - | -9 | #[derive(Serialize)] - | ^^^^^^^^^ - | | - | expected `u8`, found `u16` - | arguments to this function are incorrect - | - = note: expected reference `&u8` - found reference `&u16` + --> tests/ui/remote/wrong_ser.rs:9:10 + | +9 | #[derive(Serialize)] + | ^^^^^^^^^ + | | + | expected `u8`, found `u16` + | arguments to this function are incorrect + | + = note: expected reference `&u8` + found reference `&u16` note: function defined here - --> $WORKSPACE/serde/src/private/ser.rs - | - | pub fn constrain(t: &T) -> &T { - | ^^^^^^^^^ - = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) + --> $WORKSPACE/serde/src/private/ser.rs + | + | pub fn constrain(t: &T) -> &T { + | ^^^^^^^^^ + = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)