Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
|
@ -1,12 +0,0 @@
|
|||
// run-rustfix
|
||||
#![allow(unused_variables)]
|
||||
fn main() {
|
||||
struct U;
|
||||
|
||||
// A tuple is a "non-reference pattern".
|
||||
// A `mut` binding pattern resets the binding mode to by-value.
|
||||
|
||||
let mut p = (U, U);
|
||||
let (a, mut b) = &mut p;
|
||||
//~^ ERROR cannot move out of a mutable reference
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue