139 lines
5.9 KiB
Plaintext
139 lines
5.9 KiB
Plaintext
|
error: The attribute `lt_struct` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:23:13
|
||
|
|
|
||
|
23 | struct StLt<#[lt_struct] 'a>(&'a u32);
|
||
|
| ^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `ty_struct` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:25:13
|
||
|
|
|
||
|
25 | struct StTy<#[ty_struct] I>(I);
|
||
|
| ^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `lt_enum` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:28:11
|
||
|
|
|
||
|
28 | enum EnLt<#[lt_enum] 'b> { A(&'b u32), B }
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `ty_enum` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:30:11
|
||
|
|
|
||
|
30 | enum EnTy<#[ty_enum] J> { A(J), B }
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `lt_trait` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:33:12
|
||
|
|
|
||
|
33 | trait TrLt<#[lt_trait] 'c> { fn foo(&self, _: &'c [u32]) -> &'c u32; }
|
||
|
| ^^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `ty_trait` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:35:12
|
||
|
|
|
||
|
35 | trait TrTy<#[ty_trait] K> { fn foo(&self, _: K); }
|
||
|
| ^^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `lt_type` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:38:11
|
||
|
|
|
||
|
38 | type TyLt<#[lt_type] 'd> = &'d u32;
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `ty_type` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:40:11
|
||
|
|
|
||
|
40 | type TyTy<#[ty_type] L> = (L, );
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `lt_inherent` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:43:6
|
||
|
|
|
||
|
43 | impl<#[lt_inherent] 'e> StLt<'e> { }
|
||
|
| ^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `ty_inherent` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:45:6
|
||
|
|
|
||
|
45 | impl<#[ty_inherent] M> StTy<M> { }
|
||
|
| ^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `lt_impl_for` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:48:6
|
||
|
|
|
||
|
48 | impl<#[lt_impl_for] 'f> TrLt<'f> for StLt<'f> {
|
||
|
| ^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `ty_impl_for` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:52:6
|
||
|
|
|
||
|
52 | impl<#[ty_impl_for] N> TrTy<N> for StTy<N> {
|
||
|
| ^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `lt_fn` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:57:9
|
||
|
|
|
||
|
57 | fn f_lt<#[lt_fn] 'g>(_: &'g [u32]) -> &'g u32 { loop { } }
|
||
|
| ^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `ty_fn` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:59:9
|
||
|
|
|
||
|
59 | fn f_ty<#[ty_fn] O>(_: O) { }
|
||
|
| ^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `lt_meth` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:63:13
|
||
|
|
|
||
|
63 | fn m_lt<#[lt_meth] 'h>(_: &'h [u32]) -> &'h u32 { loop { } }
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `ty_meth` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:65:13
|
||
|
|
|
||
|
65 | fn m_ty<#[ty_meth] P>(_: P) { }
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: The attribute `lt_hof` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
|
||
|
--> $DIR/feature-gate-custom_attribute2.rs:70:19
|
||
|
|
|
||
|
70 | where Q: for <#[lt_hof] 'i> Fn(&'i [u32]) -> &'i u32
|
||
|
| ^^^^^^^^^
|
||
|
|
|
||
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
|
||
|
|
||
|
error: aborting due to 17 previous errors
|
||
|
|