2017-12-17 01:53:11 +03:00
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-ty.rs:11:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type A = [u8; 4]::AssocTy;
|
2017-12-17 01:53:11 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^ help: try: `<[u8; 4]>::AssocTy`
|
|
|
|
|
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-ty.rs:15:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type B = [u8]::AssocTy;
|
2017-12-17 01:53:11 +03:00
|
|
|
| ^^^^^^^^^^^^^ help: try: `<[u8]>::AssocTy`
|
|
|
|
|
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-ty.rs:19:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type C = (u8)::AssocTy;
|
2017-12-17 01:53:11 +03:00
|
|
|
| ^^^^^^^^^^^^^ help: try: `<(u8)>::AssocTy`
|
|
|
|
|
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-ty.rs:23:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type D = (u8, u8)::AssocTy;
|
2017-12-17 01:53:11 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^ help: try: `<(u8, u8)>::AssocTy`
|
|
|
|
|
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-ty.rs:27:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type E = _::AssocTy;
|
2017-12-17 01:53:11 +03:00
|
|
|
| ^^^^^^^^^^ help: try: `<_>::AssocTy`
|
|
|
|
|
2017-12-18 23:42:58 +03:00
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-ty.rs:31:19
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type F = &'static (u8)::AssocTy;
|
2017-12-18 23:42:58 +03:00
|
|
|
| ^^^^^^^^^^^^^ help: try: `<(u8)>::AssocTy`
|
|
|
|
|
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-ty.rs:37:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type G = 'static + (Send)::AssocTy;
|
2017-12-18 23:59:31 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<'static + Send>::AssocTy`
|
2017-12-18 23:42:58 +03:00
|
|
|
|
2017-12-17 01:53:11 +03:00
|
|
|
error[E0223]: ambiguous associated type
|
|
|
|
--> $DIR/bad-assoc-ty.rs:11:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type A = [u8; 4]::AssocTy;
|
2018-10-10 20:49:45 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<[u8; _] as Trait>::AssocTy`
|
2017-12-17 01:53:11 +03:00
|
|
|
|
|
|
|
error[E0223]: ambiguous associated type
|
|
|
|
--> $DIR/bad-assoc-ty.rs:15:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type B = [u8]::AssocTy;
|
2018-10-10 20:49:45 -07:00
|
|
|
| ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<[u8] as Trait>::AssocTy`
|
2017-12-17 01:53:11 +03:00
|
|
|
|
|
|
|
error[E0223]: ambiguous associated type
|
|
|
|
--> $DIR/bad-assoc-ty.rs:19:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type C = (u8)::AssocTy;
|
2018-10-10 20:49:45 -07:00
|
|
|
| ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<u8 as Trait>::AssocTy`
|
2017-12-17 01:53:11 +03:00
|
|
|
|
|
|
|
error[E0223]: ambiguous associated type
|
|
|
|
--> $DIR/bad-assoc-ty.rs:23:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type D = (u8, u8)::AssocTy;
|
2018-10-10 20:49:45 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<(u8, u8) as Trait>::AssocTy`
|
2017-12-17 01:53:11 +03:00
|
|
|
|
|
|
|
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
|
|
|
|
--> $DIR/bad-assoc-ty.rs:27:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type E = _::AssocTy;
|
2017-12-17 01:53:11 +03:00
|
|
|
| ^ not allowed in type signatures
|
|
|
|
|
2017-12-18 23:42:58 +03:00
|
|
|
error[E0223]: ambiguous associated type
|
|
|
|
--> $DIR/bad-assoc-ty.rs:31:19
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type F = &'static (u8)::AssocTy;
|
2018-10-10 20:49:45 -07:00
|
|
|
| ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<u8 as Trait>::AssocTy`
|
2017-12-18 23:42:58 +03:00
|
|
|
|
|
|
|
error[E0223]: ambiguous associated type
|
|
|
|
--> $DIR/bad-assoc-ty.rs:37:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type G = 'static + (Send)::AssocTy;
|
2018-10-10 20:49:45 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<(dyn std::marker::Send + 'static) as Trait>::AssocTy`
|
2017-12-18 23:42:58 +03:00
|
|
|
|
|
|
|
error[E0223]: ambiguous associated type
|
2017-12-18 23:59:31 +03:00
|
|
|
--> $DIR/bad-assoc-ty.rs:43:10
|
2017-12-18 23:42:58 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type H = Fn(u8) -> (u8)::Output;
|
2018-10-10 20:49:45 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<(dyn std::ops::Fn(u8) -> u8 + 'static) as Trait>::Output`
|
2017-12-18 23:42:58 +03:00
|
|
|
|
2017-12-18 23:59:31 +03:00
|
|
|
error: aborting due to 15 previous errors
|
2017-12-17 01:53:11 +03:00
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
Some errors occurred: E0121, E0223.
|
|
|
|
For more information about an error, try `rustc --explain E0121`.
|