]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/invalid-constant-in-args.stderr
Auto merge of #75416 - richkadel:llvm-coverage-map-gen-5.3, r=richkadel
[rust.git] / src / test / ui / const-generics / invalid-constant-in-args.stderr
1 error[E0107]: wrong number of const arguments: expected 0, found 1
2   --> $DIR/invalid-constant-in-args.rs:2:22
3    |
4 LL |     let _: Vec<&str, "a"> = Vec::new();
5    |                      ^^^ unexpected const argument
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0107`.