diff --git a/tests/ui/colon_instead_of_arrow.stderr b/tests/ui/colon_instead_of_arrow.stderr index 1d85217..c85ac74 100644 --- a/tests/ui/colon_instead_of_arrow.stderr +++ b/tests/ui/colon_instead_of_arrow.stderr @@ -13,9 +13,9 @@ error[E0308]: mismatched types = note: expected struct `Bar` found opaque type `impl pinned_init::PinInit` note: function defined here - --> $RUSTC_SRC/library/core/src/ptr/mod.rs:1369:21 + --> $RUSTC_SRC/library/core/src/ptr/mod.rs:1351:21 | -1369 | pub const unsafe fn write(dst: *mut T, src: T) { +1351 | pub const unsafe fn write(dst: *mut T, src: T) { | ^^^^^ = note: this error originates in the macro `$crate::try_pin_init` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info)