Files
rust/src/test/ui/const-generics/invalid-constant-in-args.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

10 lines
325 B
Plaintext

error[E0107]: wrong number of const arguments: expected 0, found 1
--> $DIR/invalid-constant-in-args.rs:2:22
|
LL | let _: Vec<&str, "a"> = Vec::new();
| ^^^ unexpected const argument
error: aborting due to previous error
For more information about this error, try `rustc --explain E0107`.