2017-12-17 01:53:11 +03:00
|
|
|
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`
|
|
|
|
|
2017-12-18 23:42:58 +03:00
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-expr.rs:25:6
|
|
|
|
|
|
|
|
|
25 | &(u8)::clone(&0);
|
|
|
|
| ^^^^^^^^^^^ help: try: `<(u8)>::clone`
|
|
|
|
|
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-expr.rs:28:10
|
|
|
|
|
|
|
|
|
28 | 10 + (u8)::clone(&0);
|
|
|
|
| ^^^^^^^^^^^ help: try: `<(u8)>::clone`
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
2017-12-17 01:53:11 +03:00
|
|
|
|