From 5b7436646bbc883fb18ecfb1542616d77aef2e09 Mon Sep 17 00:00:00 2001 From: y86-dev Date: Wed, 21 Jun 2023 17:57:12 +0200 Subject: [PATCH] ui-tests: fix rust-src line count --- tests/ui/colon_instead_of_arrow.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/colon_instead_of_arrow.stderr b/tests/ui/colon_instead_of_arrow.stderr index 7c5bee0..197fb33 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:1359:21 + --> $RUSTC_SRC/library/core/src/ptr/mod.rs:1360:21 | -1359 | pub const unsafe fn write(dst: *mut T, src: T) { +1360 | 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)