fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: missing angle brackets in associated item path 2 --> $DIR/bad-assoc-ty.rs:1:10 3 | 4LL | type A = [u8; 4]::AssocTy; 5 | ^^^^^^^^^^^^^^^^ help: try: `<[u8; 4]>::AssocTy` 6 7error: missing angle brackets in associated item path 8 --> $DIR/bad-assoc-ty.rs:5:10 9 | 10LL | type B = [u8]::AssocTy; 11 | ^^^^^^^^^^^^^ help: try: `<[u8]>::AssocTy` 12 13error: missing angle brackets in associated item path 14 --> $DIR/bad-assoc-ty.rs:9:10 15 | 16LL | type C = (u8)::AssocTy; 17 | ^^^^^^^^^^^^^ help: try: `<(u8)>::AssocTy` 18 19error: missing angle brackets in associated item path 20 --> $DIR/bad-assoc-ty.rs:13:10 21 | 22LL | type D = (u8, u8)::AssocTy; 23 | ^^^^^^^^^^^^^^^^^ help: try: `<(u8, u8)>::AssocTy` 24 25error: missing angle brackets in associated item path 26 --> $DIR/bad-assoc-ty.rs:17:10 27 | 28LL | type E = _::AssocTy; 29 | ^^^^^^^^^^ help: try: `<_>::AssocTy` 30 31error: missing angle brackets in associated item path 32 --> $DIR/bad-assoc-ty.rs:21:19 33 | 34LL | type F = &'static (u8)::AssocTy; 35 | ^^^^^^^^^^^^^ help: try: `<(u8)>::AssocTy` 36 37error: missing angle brackets in associated item path 38 --> $DIR/bad-assoc-ty.rs:27:10 39 | 40LL | type G = dyn 'static + (Send)::AssocTy; 41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<dyn 'static + (Send)>::AssocTy` 42 43error: missing angle brackets in associated item path 44 --> $DIR/bad-assoc-ty.rs:44:10 45 | 46LL | type I = ty!()::AssocTy; 47 | ^^^^^^^^^^^^^^ help: try: `<ty!()>::AssocTy` 48 49error: missing angle brackets in associated item path 50 --> $DIR/bad-assoc-ty.rs:37:19 51 | 52LL | ($ty: ty) => ($ty::AssocTy); 53 | ^^^^^^^^^^^^ help: try: `<$ty>::AssocTy` 54... 55LL | type J = ty!(u8); 56 | ------- in this macro invocation 57 58error[E0223]: ambiguous associated type 59 --> $DIR/bad-assoc-ty.rs:1:10 60 | 61LL | type A = [u8; 4]::AssocTy; 62 | ^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<[u8; _] as Trait>::AssocTy` 63 64error[E0223]: ambiguous associated type 65 --> $DIR/bad-assoc-ty.rs:5:10 66 | 67LL | type B = [u8]::AssocTy; 68 | ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<[u8] as Trait>::AssocTy` 69 70error[E0223]: ambiguous associated type 71 --> $DIR/bad-assoc-ty.rs:9:10 72 | 73LL | type C = (u8)::AssocTy; 74 | ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<u8 as Trait>::AssocTy` 75 76error[E0223]: ambiguous associated type 77 --> $DIR/bad-assoc-ty.rs:13:10 78 | 79LL | type D = (u8, u8)::AssocTy; 80 | ^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<(u8, u8) as Trait>::AssocTy` 81 82error[E0121]: the type placeholder `_` is not allowed within types on item signatures 83 --> $DIR/bad-assoc-ty.rs:17:10 84 | 85LL | type E = _::AssocTy; 86 | ^ not allowed in type signatures 87 88error[E0223]: ambiguous associated type 89 --> $DIR/bad-assoc-ty.rs:21:19 90 | 91LL | type F = &'static (u8)::AssocTy; 92 | ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<u8 as Trait>::AssocTy` 93 94error[E0223]: ambiguous associated type 95 --> $DIR/bad-assoc-ty.rs:27:10 96 | 97LL | type G = dyn 'static + (Send)::AssocTy; 98 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<(dyn std::marker::Send + 'static) as Trait>::AssocTy` 99 100error[E0223]: ambiguous associated type 101 --> $DIR/bad-assoc-ty.rs:33:10 102 | 103LL | type H = Fn(u8) -> (u8)::Output; 104 | ^^^^^^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<(dyn std::ops::Fn(u8) -> u8 + 'static) as Trait>::Output` 105 106error[E0223]: ambiguous associated type 107 --> $DIR/bad-assoc-ty.rs:37:19 108 | 109LL | ($ty: ty) => ($ty::AssocTy); 110 | ^^^^^^^^^^^^ help: use fully-qualified syntax: `<u8 as Trait>::AssocTy` 111... 112LL | type J = ty!(u8); 113 | ------- in this macro invocation 114 115error[E0223]: ambiguous associated type 116 --> $DIR/bad-assoc-ty.rs:44:10 117 | 118LL | type I = ty!()::AssocTy; 119 | ^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<u8 as Trait>::AssocTy` 120 121error: aborting due to 19 previous errors 122 123Some errors have detailed explanations: E0121, E0223. 124For more information about an error, try `rustc --explain E0121`.