rust/src/test/ui/dst/dst-index.stderr

29 lines
812 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0161]: cannot move a value of type str: the size of str cannot be statically determined
2018-12-25 15:56:47 +00:00
--> $DIR/dst-index.rs:31:5
2018-08-08 12:28:26 +00:00
|
LL | S[0];
| ^^^^
error[E0161]: cannot move a value of type dyn std::fmt::Debug: the size of dyn std::fmt::Debug cannot be statically determined
2018-12-25 15:56:47 +00:00
--> $DIR/dst-index.rs:34:5
2018-08-08 12:28:26 +00:00
|
LL | T[0];
| ^^^^
error[E0507]: cannot move out of borrowed content
2018-12-25 15:56:47 +00:00
--> $DIR/dst-index.rs:31:5
2018-08-08 12:28:26 +00:00
|
LL | S[0];
| ^^^^ cannot move out of borrowed content
2018-08-08 12:28:26 +00:00
error[E0507]: cannot move out of borrowed content
2018-12-25 15:56:47 +00:00
--> $DIR/dst-index.rs:34:5
2018-08-08 12:28:26 +00:00
|
LL | T[0];
| ^^^^ cannot move out of borrowed content
2018-08-08 12:28:26 +00:00
error: aborting due to 4 previous errors
Some errors have detailed explanations: E0161, E0507.
2018-08-08 12:28:26 +00:00
For more information about an error, try `rustc --explain E0161`.