Skip to content

Commit

Permalink
tests: ui: update line numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
y86-dev committed Apr 30, 2023
1 parent 7e06b9c commit 427defa
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:1369:21
--> $RUSTC_SRC/library/core/src/ptr/mod.rs:1351:21
|
1369 | pub const unsafe fn write<T>(dst: *mut T, src: T) {
1351 | 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 427defa

Please sign in to comment.