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