]> git.lizzy.rs Git - rust.git/blob - src/test/ui/maybe-bounds-where-cpass.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / maybe-bounds-where-cpass.stderr
1 error: compilation successful
2   --> $DIR/maybe-bounds-where-cpass.rs:16:1
3    |
4 LL | / fn main() { //~ ERROR compilation successful
5 LL | |     let u = vec![1, 2, 3];
6 LL | |     let _s: S<[u8]> = S(&u[..]);
7 LL | | }
8    | |_^
9
10 error: aborting due to previous error
11