]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fn/implied-bounds-unnorm-associated-type.stderr
don't normalize wf predicates
[rust.git] / src / test / ui / fn / implied-bounds-unnorm-associated-type.stderr
1 error[E0505]: cannot move out of `x` because it is borrowed
2   --> $DIR/implied-bounds-unnorm-associated-type.rs:20:10
3    |
4 LL |     let y = f(&x, ());
5    |               -- borrow of `x` occurs here
6 LL |     drop(x);
7    |          ^ move out of `x` occurs here
8 LL |
9 LL |     println!("{}", y);
10    |                    - borrow later used here
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0505`.