|
1 | | -error: cannot find attribute `lt_hof` in this scope |
2 | | - --> $DIR/feature-gate-custom_attribute2.rs:51:21 |
| 1 | +error: cannot find attribute `lt_struct` in this scope |
| 2 | + --> $DIR/feature-gate-custom_attribute2.rs:4:15 |
3 | 3 | | |
4 | | -LL | where Q: for <#[lt_hof] 'i> Fn(&'i [u32]) -> &'i u32 |
5 | | - | ^^^^^^ |
| 4 | +LL | struct StLt<#[lt_struct] 'a>(&'a u32); |
| 5 | + | ^^^^^^^^^ |
6 | 6 |
|
7 | | -error: cannot find attribute `ty_meth` in this scope |
8 | | - --> $DIR/feature-gate-custom_attribute2.rs:46:15 |
| 7 | +error: cannot find attribute `ty_struct` in this scope |
| 8 | + --> $DIR/feature-gate-custom_attribute2.rs:6:15 |
9 | 9 | | |
10 | | -LL | fn m_ty<#[ty_meth] P>(_: P) { } |
11 | | - | ^^^^^^^ |
| 10 | +LL | struct StTy<#[ty_struct] I>(I); |
| 11 | + | ^^^^^^^^^ |
12 | 12 |
|
13 | | -error: cannot find attribute `lt_meth` in this scope |
14 | | - --> $DIR/feature-gate-custom_attribute2.rs:44:15 |
| 13 | +error: cannot find attribute `lt_enum` in this scope |
| 14 | + --> $DIR/feature-gate-custom_attribute2.rs:9:13 |
15 | 15 | | |
16 | | -LL | fn m_lt<#[lt_meth] 'h>(_: &'h [u32]) -> &'h u32 { loop { } } |
17 | | - | ^^^^^^^ |
| 16 | +LL | enum EnLt<#[lt_enum] 'b> { A(&'b u32), B } |
| 17 | + | ^^^^^^^ |
18 | 18 |
|
19 | | -error: cannot find attribute `ty_fn` in this scope |
20 | | - --> $DIR/feature-gate-custom_attribute2.rs:40:11 |
| 19 | +error: cannot find attribute `ty_enum` in this scope |
| 20 | + --> $DIR/feature-gate-custom_attribute2.rs:11:13 |
21 | 21 | | |
22 | | -LL | fn f_ty<#[ty_fn] O>(_: O) { } |
23 | | - | ^^^^^ |
| 22 | +LL | enum EnTy<#[ty_enum] J> { A(J), B } |
| 23 | + | ^^^^^^^ |
24 | 24 |
|
25 | | -error: cannot find attribute `lt_fn` in this scope |
26 | | - --> $DIR/feature-gate-custom_attribute2.rs:38:11 |
| 25 | +error: cannot find attribute `lt_trait` in this scope |
| 26 | + --> $DIR/feature-gate-custom_attribute2.rs:14:14 |
27 | 27 | | |
28 | | -LL | fn f_lt<#[lt_fn] 'g>(_: &'g [u32]) -> &'g u32 { loop { } } |
29 | | - | ^^^^^ |
| 28 | +LL | trait TrLt<#[lt_trait] 'c> { fn foo(&self, _: &'c [u32]) -> &'c u32; } |
| 29 | + | ^^^^^^^^ |
30 | 30 |
|
31 | | -error: cannot find attribute `ty_impl_for` in this scope |
32 | | - --> $DIR/feature-gate-custom_attribute2.rs:33:8 |
| 31 | +error: cannot find attribute `ty_trait` in this scope |
| 32 | + --> $DIR/feature-gate-custom_attribute2.rs:16:14 |
33 | 33 | | |
34 | | -LL | impl<#[ty_impl_for] N> TrTy<N> for StTy<N> { |
35 | | - | ^^^^^^^^^^^ |
| 34 | +LL | trait TrTy<#[ty_trait] K> { fn foo(&self, _: K); } |
| 35 | + | ^^^^^^^^ |
36 | 36 |
|
37 | | -error: cannot find attribute `lt_impl_for` in this scope |
38 | | - --> $DIR/feature-gate-custom_attribute2.rs:29:8 |
| 37 | +error: cannot find attribute `lt_type` in this scope |
| 38 | + --> $DIR/feature-gate-custom_attribute2.rs:19:13 |
39 | 39 | | |
40 | | -LL | impl<#[lt_impl_for] 'f> TrLt<'f> for StLt<'f> { |
41 | | - | ^^^^^^^^^^^ |
| 40 | +LL | type TyLt<#[lt_type] 'd> = &'d u32; |
| 41 | + | ^^^^^^^ |
42 | 42 |
|
43 | | -error: cannot find attribute `ty_inherent` in this scope |
44 | | - --> $DIR/feature-gate-custom_attribute2.rs:26:8 |
| 43 | +error: cannot find attribute `ty_type` in this scope |
| 44 | + --> $DIR/feature-gate-custom_attribute2.rs:21:13 |
45 | 45 | | |
46 | | -LL | impl<#[ty_inherent] M> StTy<M> { } |
47 | | - | ^^^^^^^^^^^ |
| 46 | +LL | type TyTy<#[ty_type] L> = (L, ); |
| 47 | + | ^^^^^^^ |
48 | 48 |
|
49 | 49 | error: cannot find attribute `lt_inherent` in this scope |
50 | 50 | --> $DIR/feature-gate-custom_attribute2.rs:24:8 |
51 | 51 | | |
52 | 52 | LL | impl<#[lt_inherent] 'e> StLt<'e> { } |
53 | 53 | | ^^^^^^^^^^^ |
54 | 54 |
|
55 | | -error: cannot find attribute `ty_type` in this scope |
56 | | - --> $DIR/feature-gate-custom_attribute2.rs:21:13 |
| 55 | +error: cannot find attribute `ty_inherent` in this scope |
| 56 | + --> $DIR/feature-gate-custom_attribute2.rs:26:8 |
57 | 57 | | |
58 | | -LL | type TyTy<#[ty_type] L> = (L, ); |
59 | | - | ^^^^^^^ |
| 58 | +LL | impl<#[ty_inherent] M> StTy<M> { } |
| 59 | + | ^^^^^^^^^^^ |
60 | 60 |
|
61 | | -error: cannot find attribute `lt_type` in this scope |
62 | | - --> $DIR/feature-gate-custom_attribute2.rs:19:13 |
| 61 | +error: cannot find attribute `lt_impl_for` in this scope |
| 62 | + --> $DIR/feature-gate-custom_attribute2.rs:29:8 |
63 | 63 | | |
64 | | -LL | type TyLt<#[lt_type] 'd> = &'d u32; |
65 | | - | ^^^^^^^ |
| 64 | +LL | impl<#[lt_impl_for] 'f> TrLt<'f> for StLt<'f> { |
| 65 | + | ^^^^^^^^^^^ |
66 | 66 |
|
67 | | -error: cannot find attribute `ty_trait` in this scope |
68 | | - --> $DIR/feature-gate-custom_attribute2.rs:16:14 |
| 67 | +error: cannot find attribute `ty_impl_for` in this scope |
| 68 | + --> $DIR/feature-gate-custom_attribute2.rs:33:8 |
69 | 69 | | |
70 | | -LL | trait TrTy<#[ty_trait] K> { fn foo(&self, _: K); } |
71 | | - | ^^^^^^^^ |
| 70 | +LL | impl<#[ty_impl_for] N> TrTy<N> for StTy<N> { |
| 71 | + | ^^^^^^^^^^^ |
72 | 72 |
|
73 | | -error: cannot find attribute `lt_trait` in this scope |
74 | | - --> $DIR/feature-gate-custom_attribute2.rs:14:14 |
| 73 | +error: cannot find attribute `lt_fn` in this scope |
| 74 | + --> $DIR/feature-gate-custom_attribute2.rs:38:11 |
75 | 75 | | |
76 | | -LL | trait TrLt<#[lt_trait] 'c> { fn foo(&self, _: &'c [u32]) -> &'c u32; } |
77 | | - | ^^^^^^^^ |
| 76 | +LL | fn f_lt<#[lt_fn] 'g>(_: &'g [u32]) -> &'g u32 { loop { } } |
| 77 | + | ^^^^^ |
78 | 78 |
|
79 | | -error: cannot find attribute `ty_enum` in this scope |
80 | | - --> $DIR/feature-gate-custom_attribute2.rs:11:13 |
| 79 | +error: cannot find attribute `ty_fn` in this scope |
| 80 | + --> $DIR/feature-gate-custom_attribute2.rs:40:11 |
81 | 81 | | |
82 | | -LL | enum EnTy<#[ty_enum] J> { A(J), B } |
83 | | - | ^^^^^^^ |
| 82 | +LL | fn f_ty<#[ty_fn] O>(_: O) { } |
| 83 | + | ^^^^^ |
84 | 84 |
|
85 | | -error: cannot find attribute `lt_enum` in this scope |
86 | | - --> $DIR/feature-gate-custom_attribute2.rs:9:13 |
| 85 | +error: cannot find attribute `lt_meth` in this scope |
| 86 | + --> $DIR/feature-gate-custom_attribute2.rs:44:15 |
87 | 87 | | |
88 | | -LL | enum EnLt<#[lt_enum] 'b> { A(&'b u32), B } |
89 | | - | ^^^^^^^ |
| 88 | +LL | fn m_lt<#[lt_meth] 'h>(_: &'h [u32]) -> &'h u32 { loop { } } |
| 89 | + | ^^^^^^^ |
90 | 90 |
|
91 | | -error: cannot find attribute `ty_struct` in this scope |
92 | | - --> $DIR/feature-gate-custom_attribute2.rs:6:15 |
| 91 | +error: cannot find attribute `ty_meth` in this scope |
| 92 | + --> $DIR/feature-gate-custom_attribute2.rs:46:15 |
93 | 93 | | |
94 | | -LL | struct StTy<#[ty_struct] I>(I); |
95 | | - | ^^^^^^^^^ |
| 94 | +LL | fn m_ty<#[ty_meth] P>(_: P) { } |
| 95 | + | ^^^^^^^ |
96 | 96 |
|
97 | | -error: cannot find attribute `lt_struct` in this scope |
98 | | - --> $DIR/feature-gate-custom_attribute2.rs:4:15 |
| 97 | +error: cannot find attribute `lt_hof` in this scope |
| 98 | + --> $DIR/feature-gate-custom_attribute2.rs:51:21 |
99 | 99 | | |
100 | | -LL | struct StLt<#[lt_struct] 'a>(&'a u32); |
101 | | - | ^^^^^^^^^ |
| 100 | +LL | where Q: for <#[lt_hof] 'i> Fn(&'i [u32]) -> &'i u32 |
| 101 | + | ^^^^^^ |
102 | 102 |
|
103 | 103 | error: aborting due to 17 previous errors |
104 | 104 |
|
0 commit comments