Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
11
tests/ui/rfc-2005-default-binding-mode/no-double-error.rs
Normal file
11
tests/ui/rfc-2005-default-binding-mode/no-double-error.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Without caching type lookups in FnCtxt.resolve_ty_and_def_ufcs
|
||||
// the error below would be reported twice (once when checking
|
||||
// for a non-ref pattern, once when processing the pattern).
|
||||
|
||||
fn main() {
|
||||
let foo = 22;
|
||||
match foo {
|
||||
u32::XXX => { } //~ ERROR no associated item named
|
||||
_ => { }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue