Skip to content

Commit e5a6ddc

Browse files
committed
ui-tests: fix rust-src line count
1 parent 427defa commit e5a6ddc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ui/colon_instead_of_arrow.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ error[E0308]: mismatched types
1313
= note: expected struct `Bar`
1414
found opaque type `impl pinned_init::PinInit<Bar>`
1515
note: function defined here
16-
--> $RUSTC_SRC/library/core/src/ptr/mod.rs:1351:21
16+
--> $RUSTC_SRC/library/core/src/ptr/mod.rs:1359:21
1717
|
18-
1351 | pub const unsafe fn write<T>(dst: *mut T, src: T) {
18+
1359 | pub const unsafe fn write<T>(dst: *mut T, src: T) {
1919
| ^^^^^
2020
= 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)
2121

0 commit comments

Comments
 (0)