27 lines
749 B
Plaintext
27 lines
749 B
Plaintext
|
error: missing angle brackets in associated item path
|
||
|
--> $DIR/bad-assoc-expr.rs:13:5
|
||
|
|
|
||
|
13 | [i32; 4]::clone(&a);
|
||
|
| ^^^^^^^^^^^^^^^ help: try: `<[i32; 4]>::clone`
|
||
|
|
||
|
error: missing angle brackets in associated item path
|
||
|
--> $DIR/bad-assoc-expr.rs:16:5
|
||
|
|
|
||
|
16 | [i32]::as_ref(&a);
|
||
|
| ^^^^^^^^^^^^^ help: try: `<[i32]>::as_ref`
|
||
|
|
||
|
error: missing angle brackets in associated item path
|
||
|
--> $DIR/bad-assoc-expr.rs:19:5
|
||
|
|
|
||
|
19 | (u8)::clone(&0);
|
||
|
| ^^^^^^^^^^^ help: try: `<(u8)>::clone`
|
||
|
|
||
|
error: missing angle brackets in associated item path
|
||
|
--> $DIR/bad-assoc-expr.rs:22:5
|
||
|
|
|
||
|
22 | (u8, u8)::clone(&(0, 0));
|
||
|
| ^^^^^^^^^^^^^^^ help: try: `<(u8, u8)>::clone`
|
||
|
|
||
|
error: aborting due to 4 previous errors
|
||
|
|