1 error: missing angle brackets in associated item path
2 --> $DIR/bad-assoc-expr.rs:3:5
4 LL | [i32; 4]::clone(&a);
5 | ^^^^^^^^^^^^^^^ help: try: `<[i32; 4]>::clone`
7 error: missing angle brackets in associated item path
8 --> $DIR/bad-assoc-expr.rs:6:5
10 LL | [i32]::as_ref(&a);
11 | ^^^^^^^^^^^^^ help: try: `<[i32]>::as_ref`
13 error: missing angle brackets in associated item path
14 --> $DIR/bad-assoc-expr.rs:9:5
17 | ^^^^^^^^^^^ help: try: `<(u8)>::clone`
19 error: missing angle brackets in associated item path
20 --> $DIR/bad-assoc-expr.rs:12:5
22 LL | (u8, u8)::clone(&(0, 0));
23 | ^^^^^^^^^^^^^^^ help: try: `<(u8, u8)>::clone`
25 error: missing angle brackets in associated item path
26 --> $DIR/bad-assoc-expr.rs:15:6
28 LL | &(u8)::clone(&0);
29 | ^^^^^^^^^^^ help: try: `<(u8)>::clone`
31 error: missing angle brackets in associated item path
32 --> $DIR/bad-assoc-expr.rs:18:10
34 LL | 10 + (u8)::clone(&0);
35 | ^^^^^^^^^^^ help: try: `<(u8)>::clone`
37 error: missing angle brackets in associated item path
38 --> $DIR/bad-assoc-expr.rs:32:13
40 LL | let _ = ty!()::clone(&0);
41 | ^^^^^^^^^^^^ help: try: `<ty!()>::clone`
43 error: missing angle brackets in associated item path
44 --> $DIR/bad-assoc-expr.rs:34:5
46 LL | ty!()::clone(&0);
47 | ^^^^^^^^^^^^ help: try: `<ty!()>::clone`
49 error: missing angle brackets in associated item path
50 --> $DIR/bad-assoc-expr.rs:23:19
52 LL | ($ty: ty) => ($ty::clone(&0))
53 | ^^^^^^^^^^ help: try: `<$ty>::clone`
56 | --------- in this macro invocation
58 = note: this error originates in the macro `expr` (in Nightly builds, run with -Z macro-backtrace for more info)
60 error: aborting due to 9 previous errors