Skip to content

Commit

Permalink
Revert a test change to make sure it's still testing the original issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Sep 24, 2020
1 parent fc9f294 commit daf976f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
fn main() {
const C: impl Copy = 0;
match C {
C => {} //~ ERROR: `impl Copy` cannot be used in patterns
C | //~ ERROR: `impl Copy` cannot be used in patterns
_ => {}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
error: `impl Copy` cannot be used in patterns
--> $DIR/issue-71042-opaquely-typed-constant-used-in-pattern.rs:7:9
|
LL | C => {}
LL | C |
| ^

error: aborting due to previous error
Expand Down

0 comments on commit daf976f

Please sign in to comment.