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 May 24, 2023
1 parent 427defa commit e5a6ddc
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:1351:21
--> $RUSTC_SRC/library/core/src/ptr/mod.rs:1359:21
|
1351 | pub const unsafe fn write<T>(dst: *mut T, src: T) {
1359 | 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 e5a6ddc

Please sign in to comment.