1 error: missing angle brackets in associated item path
2 --> $DIR/bad-assoc-ty.rs:11:10
4 LL | type A = [u8; 4]::AssocTy;
5 | ^^^^^^^^^^^^^^^^ help: try: `<[u8; 4]>::AssocTy`
7 error: missing angle brackets in associated item path
8 --> $DIR/bad-assoc-ty.rs:15:10
10 LL | type B = [u8]::AssocTy;
11 | ^^^^^^^^^^^^^ help: try: `<[u8]>::AssocTy`
13 error: missing angle brackets in associated item path
14 --> $DIR/bad-assoc-ty.rs:19:10
16 LL | type C = (u8)::AssocTy;
17 | ^^^^^^^^^^^^^ help: try: `<(u8)>::AssocTy`
19 error: missing angle brackets in associated item path
20 --> $DIR/bad-assoc-ty.rs:23:10
22 LL | type D = (u8, u8)::AssocTy;
23 | ^^^^^^^^^^^^^^^^^ help: try: `<(u8, u8)>::AssocTy`
25 error: missing angle brackets in associated item path
26 --> $DIR/bad-assoc-ty.rs:27:10
28 LL | type E = _::AssocTy;
29 | ^^^^^^^^^^ help: try: `<_>::AssocTy`
31 error: missing angle brackets in associated item path
32 --> $DIR/bad-assoc-ty.rs:31:19
34 LL | type F = &'static (u8)::AssocTy;
35 | ^^^^^^^^^^^^^ help: try: `<(u8)>::AssocTy`
37 error: missing angle brackets in associated item path
38 --> $DIR/bad-assoc-ty.rs:37:10
40 LL | type G = 'static + (Send)::AssocTy;
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<'static + Send>::AssocTy`
43 error[E0223]: ambiguous associated type
44 --> $DIR/bad-assoc-ty.rs:11:10
46 LL | type A = [u8; 4]::AssocTy;
47 | ^^^^^^^^^^^^^^^^ ambiguous associated type
49 = note: specify the type using the syntax `<[u8; _] as Trait>::AssocTy`
51 error[E0223]: ambiguous associated type
52 --> $DIR/bad-assoc-ty.rs:15:10
54 LL | type B = [u8]::AssocTy;
55 | ^^^^^^^^^^^^^ ambiguous associated type
57 = note: specify the type using the syntax `<[u8] as Trait>::AssocTy`
59 error[E0223]: ambiguous associated type
60 --> $DIR/bad-assoc-ty.rs:19:10
62 LL | type C = (u8)::AssocTy;
63 | ^^^^^^^^^^^^^ ambiguous associated type
65 = note: specify the type using the syntax `<u8 as Trait>::AssocTy`
67 error[E0223]: ambiguous associated type
68 --> $DIR/bad-assoc-ty.rs:23:10
70 LL | type D = (u8, u8)::AssocTy;
71 | ^^^^^^^^^^^^^^^^^ ambiguous associated type
73 = note: specify the type using the syntax `<(u8, u8) as Trait>::AssocTy`
75 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
76 --> $DIR/bad-assoc-ty.rs:27:10
78 LL | type E = _::AssocTy;
79 | ^ not allowed in type signatures
81 error[E0223]: ambiguous associated type
82 --> $DIR/bad-assoc-ty.rs:31:19
84 LL | type F = &'static (u8)::AssocTy;
85 | ^^^^^^^^^^^^^ ambiguous associated type
87 = note: specify the type using the syntax `<u8 as Trait>::AssocTy`
89 error[E0223]: ambiguous associated type
90 --> $DIR/bad-assoc-ty.rs:37:10
92 LL | type G = 'static + (Send)::AssocTy;
93 | ^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous associated type
95 = note: specify the type using the syntax `<std::marker::Send + 'static as Trait>::AssocTy`
97 error[E0223]: ambiguous associated type
98 --> $DIR/bad-assoc-ty.rs:43:10
100 LL | type H = Fn(u8) -> (u8)::Output;
101 | ^^^^^^^^^^^^^^^^^^^^^^ ambiguous associated type
103 = note: specify the type using the syntax `<std::ops::Fn(u8) -> u8 + 'static as Trait>::Output`
105 error: aborting due to 15 previous errors
107 Some errors occurred: E0121, E0223.
108 For more information about an error, try `rustc --explain E0121`.