]> git.lizzy.rs Git - rust.git/blob - src/test/ui/dst/dst-index.nll.stderr
Update output for borrowck=migrate compare mode.
[rust.git] / src / test / ui / dst / dst-index.nll.stderr
1 error[E0161]: cannot move a value of type str: the size of str cannot be statically determined
2   --> $DIR/dst-index.rs:41:5
3    |
4 LL |     S[0];
5    |     ^^^^
6
7 error[E0161]: cannot move a value of type dyn std::fmt::Debug: the size of dyn std::fmt::Debug cannot be statically determined
8   --> $DIR/dst-index.rs:44:5
9    |
10 LL |     T[0];
11    |     ^^^^
12
13 error[E0507]: cannot move out of borrowed content
14   --> $DIR/dst-index.rs:41:5
15    |
16 LL |     S[0];
17    |     ^^^^ cannot move out of borrowed content
18
19 error[E0507]: cannot move out of data in a `&` reference
20   --> $DIR/dst-index.rs:41:5
21    |
22 LL |     S[0];
23    |     ^^^^
24    |     |
25    |     cannot move out of data in a `&` reference
26    |     cannot move
27
28 error[E0507]: cannot move out of borrowed content
29   --> $DIR/dst-index.rs:44:5
30    |
31 LL |     T[0];
32    |     ^^^^ cannot move out of borrowed content
33
34 error[E0507]: cannot move out of data in a `&` reference
35   --> $DIR/dst-index.rs:44:5
36    |
37 LL |     T[0];
38    |     ^^^^
39    |     |
40    |     cannot move out of data in a `&` reference
41    |     cannot move
42
43 error: aborting due to 6 previous errors
44
45 Some errors occurred: E0161, E0507.
46 For more information about an error, try `rustc --explain E0161`.