mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-19 18:34:08 +00:00
Remove obsolete const pattern test
This commit is contained in:
parent
32ad4ae4cd
commit
f14240b1c8
@ -1,15 +0,0 @@
|
||||
// error-pattern: pattern variable conflicts
|
||||
mod foo {
|
||||
#[legacy_exports];
|
||||
type t = u8;
|
||||
|
||||
const a : t = 0u8;
|
||||
const b : t = 1u8;
|
||||
|
||||
fn bar(v: t) -> bool {
|
||||
match v {
|
||||
a => { return true; }
|
||||
b => { return false; }
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user