Revert a test change to make sure it's still testing the original issue
This commit is contained in:
parent
fc9f2947da
commit
daf976f612
@ -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
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user