Skip to content

Commit

Permalink
tests: ui: compile-fail: fix nightly output
Browse files Browse the repository at this point in the history
  • Loading branch information
y86-dev committed Jul 25, 2024
1 parent 931dd7f commit 70c371a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ui/compile-fail/init/wrong_generics2.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ error[E0107]: struct takes 1 generic argument but 2 generic arguments were suppl
--> tests/ui/compile-fail/init/wrong_generics2.rs:7:19
|
7 | let _ = init!(Foo::<(), ()> {
| ^^^ -- help: remove this generic argument
| ^^^ ---- help: remove the unnecessary generic argument
| |
| expected 1 generic argument
|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplie
--> tests/ui/compile-fail/pinned_drop/unexpected_generics.rs:10:9
|
10 | impl<T> PinnedDrop<T> for Foo<T> {
| ^^^^^^^^^^--- help: remove these generics
| ^^^^^^^^^^--- help: remove the unnecessary generics
| |
| expected 0 generic arguments
|
Expand Down

0 comments on commit 70c371a

Please sign in to comment.