]> git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gate-custom_attribute2.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / ui / feature-gate-custom_attribute2.stderr
1 error[E0658]: The attribute `lt_struct` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2 --> $DIR/feature-gate-custom_attribute2.rs:23:13
3 |
4 23 | struct StLt<#[lt_struct] 'a>(&'a u32);
5 | ^^^^^^^^^^^^
6 |
7 = help: add #![feature(custom_attribute)] to the crate attributes to enable
8
9 error[E0658]: The attribute `ty_struct` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
10 --> $DIR/feature-gate-custom_attribute2.rs:25:13
11 |
12 25 | struct StTy<#[ty_struct] I>(I);
13 | ^^^^^^^^^^^^
14 |
15 = help: add #![feature(custom_attribute)] to the crate attributes to enable
16
17 error[E0658]: The attribute `lt_enum` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
18 --> $DIR/feature-gate-custom_attribute2.rs:28:11
19 |
20 28 | enum EnLt<#[lt_enum] 'b> { A(&'b u32), B }
21 | ^^^^^^^^^^
22 |
23 = help: add #![feature(custom_attribute)] to the crate attributes to enable
24
25 error[E0658]: The attribute `ty_enum` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
26 --> $DIR/feature-gate-custom_attribute2.rs:30:11
27 |
28 30 | enum EnTy<#[ty_enum] J> { A(J), B }
29 | ^^^^^^^^^^
30 |
31 = help: add #![feature(custom_attribute)] to the crate attributes to enable
32
33 error[E0658]: The attribute `lt_trait` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
34 --> $DIR/feature-gate-custom_attribute2.rs:33:12
35 |
36 33 | trait TrLt<#[lt_trait] 'c> { fn foo(&self, _: &'c [u32]) -> &'c u32; }
37 | ^^^^^^^^^^^
38 |
39 = help: add #![feature(custom_attribute)] to the crate attributes to enable
40
41 error[E0658]: The attribute `ty_trait` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
42 --> $DIR/feature-gate-custom_attribute2.rs:35:12
43 |
44 35 | trait TrTy<#[ty_trait] K> { fn foo(&self, _: K); }
45 | ^^^^^^^^^^^
46 |
47 = help: add #![feature(custom_attribute)] to the crate attributes to enable
48
49 error[E0658]: The attribute `lt_type` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
50 --> $DIR/feature-gate-custom_attribute2.rs:38:11
51 |
52 38 | type TyLt<#[lt_type] 'd> = &'d u32;
53 | ^^^^^^^^^^
54 |
55 = help: add #![feature(custom_attribute)] to the crate attributes to enable
56
57 error[E0658]: The attribute `ty_type` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
58 --> $DIR/feature-gate-custom_attribute2.rs:40:11
59 |
60 40 | type TyTy<#[ty_type] L> = (L, );
61 | ^^^^^^^^^^
62 |
63 = help: add #![feature(custom_attribute)] to the crate attributes to enable
64
65 error[E0658]: The attribute `lt_inherent` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
66 --> $DIR/feature-gate-custom_attribute2.rs:43:6
67 |
68 43 | impl<#[lt_inherent] 'e> StLt<'e> { }
69 | ^^^^^^^^^^^^^^
70 |
71 = help: add #![feature(custom_attribute)] to the crate attributes to enable
72
73 error[E0658]: The attribute `ty_inherent` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
74 --> $DIR/feature-gate-custom_attribute2.rs:45:6
75 |
76 45 | impl<#[ty_inherent] M> StTy<M> { }
77 | ^^^^^^^^^^^^^^
78 |
79 = help: add #![feature(custom_attribute)] to the crate attributes to enable
80
81 error[E0658]: The attribute `lt_impl_for` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
82 --> $DIR/feature-gate-custom_attribute2.rs:48:6
83 |
84 48 | impl<#[lt_impl_for] 'f> TrLt<'f> for StLt<'f> {
85 | ^^^^^^^^^^^^^^
86 |
87 = help: add #![feature(custom_attribute)] to the crate attributes to enable
88
89 error[E0658]: The attribute `ty_impl_for` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
90 --> $DIR/feature-gate-custom_attribute2.rs:52:6
91 |
92 52 | impl<#[ty_impl_for] N> TrTy<N> for StTy<N> {
93 | ^^^^^^^^^^^^^^
94 |
95 = help: add #![feature(custom_attribute)] to the crate attributes to enable
96
97 error[E0658]: The attribute `lt_fn` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
98 --> $DIR/feature-gate-custom_attribute2.rs:57:9
99 |
100 57 | fn f_lt<#[lt_fn] 'g>(_: &'g [u32]) -> &'g u32 { loop { } }
101 | ^^^^^^^^
102 |
103 = help: add #![feature(custom_attribute)] to the crate attributes to enable
104
105 error[E0658]: The attribute `ty_fn` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
106 --> $DIR/feature-gate-custom_attribute2.rs:59:9
107 |
108 59 | fn f_ty<#[ty_fn] O>(_: O) { }
109 | ^^^^^^^^
110 |
111 = help: add #![feature(custom_attribute)] to the crate attributes to enable
112
113 error[E0658]: The attribute `lt_meth` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
114 --> $DIR/feature-gate-custom_attribute2.rs:63:13
115 |
116 63 | fn m_lt<#[lt_meth] 'h>(_: &'h [u32]) -> &'h u32 { loop { } }
117 | ^^^^^^^^^^
118 |
119 = help: add #![feature(custom_attribute)] to the crate attributes to enable
120
121 error[E0658]: The attribute `ty_meth` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
122 --> $DIR/feature-gate-custom_attribute2.rs:65:13
123 |
124 65 | fn m_ty<#[ty_meth] P>(_: P) { }
125 | ^^^^^^^^^^
126 |
127 = help: add #![feature(custom_attribute)] to the crate attributes to enable
128
129 error[E0658]: The attribute `lt_hof` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
130 --> $DIR/feature-gate-custom_attribute2.rs:70:19
131 |
132 70 | where Q: for <#[lt_hof] 'i> Fn(&'i [u32]) -> &'i u32
133 | ^^^^^^^^^
134 |
135 = help: add #![feature(custom_attribute)] to the crate attributes to enable
136
137 error: aborting due to 17 previous errors
138