Skip to content

Commit

Permalink
ui-tests: fix rust-src line count
Browse files Browse the repository at this point in the history
  • Loading branch information
y86-dev committed Jun 21, 2023
1 parent e5a6ddc commit 5b74366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ui/colon_instead_of_arrow.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ error[E0308]: mismatched types
= note: expected struct `Bar`
found opaque type `impl pinned_init::PinInit<Bar>`
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<T>(dst: *mut T, src: T) {
1360 | pub const unsafe fn write<T>(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)

Expand Down

0 comments on commit 5b74366

Please sign in to comment.