Skip to content

Commit

Permalink
Update ui test suite to nightly-2023-11-05
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 5, 2023
1 parent 90bd54c commit d0d2c97
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions tests/ui/pattern-match.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ error[E0004]: non-exhaustive patterns: `MyPhantom::__Phantom(_)` not covered
| ^^^^^^^ pattern `MyPhantom::__Phantom(_)` not covered
|
note: `MyPhantom<u8>` defined here
--> tests/ui/pattern-match.rs:3:1
--> tests/ui/pattern-match.rs:4:8
|
3 | #[phantom]
| ^^^^^^^^^^ not covered
| ---------- not covered
4 | struct MyPhantom<T: ?Sized>;
| ---------
| ^^^^^^^^^
= note: the matched value is of type `MyPhantom<u8>`
= note: this error originates in the attribute macro `phantom` (in Nightly builds, run with -Z macro-backtrace for more info)
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
10~ MyPhantom => {},
Expand All @@ -26,14 +25,13 @@ error[E0004]: non-exhaustive patterns: `MyPhantom::__Phantom(_)` not covered
| ^^^^^^^ pattern `MyPhantom::__Phantom(_)` not covered
|
note: `MyPhantom<u8>` defined here
--> tests/ui/pattern-match.rs:3:1
--> tests/ui/pattern-match.rs:4:8
|
3 | #[phantom]
| ^^^^^^^^^^ not covered
| ---------- not covered
4 | struct MyPhantom<T: ?Sized>;
| ---------
| ^^^^^^^^^
= note: the matched value is of type `MyPhantom<u8>`
= note: this error originates in the attribute macro `phantom` (in Nightly builds, run with -Z macro-backtrace for more info)
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
14 ~ MyPhantom::<u8> => {},
Expand Down

0 comments on commit d0d2c97

Please sign in to comment.