]> git.proxmox.com Git - rustc.git/blob - src/test/ui/did_you_mean/bad-assoc-expr.stderr
New upstream version 1.24.1+dfsg1
[rustc.git] / src / test / ui / did_you_mean / bad-assoc-expr.stderr
1 error: missing angle brackets in associated item path
2 --> $DIR/bad-assoc-expr.rs:13:5
3 |
4 13 | [i32; 4]::clone(&a);
5 | ^^^^^^^^^^^^^^^ help: try: `<[i32; 4]>::clone`
6
7 error: missing angle brackets in associated item path
8 --> $DIR/bad-assoc-expr.rs:16:5
9 |
10 16 | [i32]::as_ref(&a);
11 | ^^^^^^^^^^^^^ help: try: `<[i32]>::as_ref`
12
13 error: missing angle brackets in associated item path
14 --> $DIR/bad-assoc-expr.rs:19:5
15 |
16 19 | (u8)::clone(&0);
17 | ^^^^^^^^^^^ help: try: `<(u8)>::clone`
18
19 error: missing angle brackets in associated item path
20 --> $DIR/bad-assoc-expr.rs:22:5
21 |
22 22 | (u8, u8)::clone(&(0, 0));
23 | ^^^^^^^^^^^^^^^ help: try: `<(u8, u8)>::clone`
24
25 error: missing angle brackets in associated item path
26 --> $DIR/bad-assoc-expr.rs:25:6
27 |
28 25 | &(u8)::clone(&0);
29 | ^^^^^^^^^^^ help: try: `<(u8)>::clone`
30
31 error: missing angle brackets in associated item path
32 --> $DIR/bad-assoc-expr.rs:28:10
33 |
34 28 | 10 + (u8)::clone(&0);
35 | ^^^^^^^^^^^ help: try: `<(u8)>::clone`
36
37 error: aborting due to 6 previous errors
38