rust/src/test/ui/feature-gates/feature-gate-custom_attribute2.stderr

157 lines
7.1 KiB
Plaintext
Raw Normal View History

2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `lt_struct` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:6:13
|
2018-02-22 18:42:32 -06:00
LL | struct StLt<#[lt_struct] 'a>(&'a u32);
| ^^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `ty_struct` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:8:13
|
2018-02-22 18:42:32 -06:00
LL | struct StTy<#[ty_struct] I>(I);
| ^^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `lt_enum` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:11:11
|
2018-02-22 18:42:32 -06:00
LL | enum EnLt<#[lt_enum] 'b> { A(&'b u32), B }
| ^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `ty_enum` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:13:11
|
2018-02-22 18:42:32 -06:00
LL | enum EnTy<#[ty_enum] J> { A(J), B }
| ^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `lt_trait` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:16:12
|
2018-02-22 18:42:32 -06:00
LL | trait TrLt<#[lt_trait] 'c> { fn foo(&self, _: &'c [u32]) -> &'c u32; }
| ^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `ty_trait` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:18:12
|
2018-02-22 18:42:32 -06:00
LL | trait TrTy<#[ty_trait] K> { fn foo(&self, _: K); }
| ^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `lt_type` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:21:11
|
2018-02-22 18:42:32 -06:00
LL | type TyLt<#[lt_type] 'd> = &'d u32;
| ^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `ty_type` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:23:11
|
2018-02-22 18:42:32 -06:00
LL | type TyTy<#[ty_type] L> = (L, );
| ^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `lt_inherent` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:26:6
|
2018-02-22 18:42:32 -06:00
LL | impl<#[lt_inherent] 'e> StLt<'e> { }
| ^^^^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `ty_inherent` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:28:6
|
2018-02-22 18:42:32 -06:00
LL | impl<#[ty_inherent] M> StTy<M> { }
| ^^^^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `lt_impl_for` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:31:6
|
2018-02-22 18:42:32 -06:00
LL | impl<#[lt_impl_for] 'f> TrLt<'f> for StLt<'f> {
| ^^^^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `ty_impl_for` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:35:6
|
2018-02-22 18:42:32 -06:00
LL | impl<#[ty_impl_for] N> TrTy<N> for StTy<N> {
| ^^^^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `lt_fn` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:40:9
|
2018-02-22 18:42:32 -06:00
LL | fn f_lt<#[lt_fn] 'g>(_: &'g [u32]) -> &'g u32 { loop { } }
| ^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `ty_fn` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:42:9
|
2018-02-22 18:42:32 -06:00
LL | fn f_ty<#[ty_fn] O>(_: O) { }
| ^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `lt_meth` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:46:13
|
2018-02-22 18:42:32 -06:00
LL | fn m_lt<#[lt_meth] 'h>(_: &'h [u32]) -> &'h u32 { loop { } }
| ^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `ty_meth` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:48:13
|
2018-02-22 18:42:32 -06:00
LL | fn m_ty<#[ty_meth] P>(_: P) { }
| ^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `lt_hof` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute2.rs:53:19
|
2018-02-22 18:42:32 -06:00
LL | where Q: for <#[lt_hof] 'i> Fn(&'i [u32]) -> &'i u32
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error: aborting due to 17 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0658`.