2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `lt_struct` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:4:15
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | struct StLt<#[lt_struct] 'a>(&'a u32);
|
|
|
|
| ^^^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `ty_struct` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:6:15
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | struct StTy<#[ty_struct] I>(I);
|
|
|
|
| ^^^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `lt_enum` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:9:13
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | enum EnLt<#[lt_enum] 'b> { A(&'b u32), B }
|
|
|
|
| ^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `ty_enum` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:11:13
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | enum EnTy<#[ty_enum] J> { A(J), B }
|
|
|
|
| ^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `lt_trait` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:14:14
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | trait TrLt<#[lt_trait] 'c> { fn foo(&self, _: &'c [u32]) -> &'c u32; }
|
|
|
|
| ^^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `ty_trait` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:16:14
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | trait TrTy<#[ty_trait] K> { fn foo(&self, _: K); }
|
|
|
|
| ^^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `lt_type` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:19:13
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | type TyLt<#[lt_type] 'd> = &'d u32;
|
|
|
|
| ^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `ty_type` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:21:13
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | type TyTy<#[ty_type] L> = (L, );
|
|
|
|
| ^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2019-09-15 09:55:18 +00:00
|
|
|
error: cannot find attribute `lt_inherent` in this scope
|
2019-11-03 21:36:45 +00:00
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:24:8
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | impl<#[lt_inherent] 'e> StLt<'e> { }
|
2019-09-09 12:26:25 +00:00
|
|
|
| ^^^^^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `ty_inherent` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:26:8
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | impl<#[ty_inherent] M> StTy<M> { }
|
|
|
|
| ^^^^^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `lt_impl_for` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:29:8
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | impl<#[lt_impl_for] 'f> TrLt<'f> for StLt<'f> {
|
|
|
|
| ^^^^^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `ty_impl_for` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:33:8
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | impl<#[ty_impl_for] N> TrTy<N> for StTy<N> {
|
|
|
|
| ^^^^^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `lt_fn` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:38:11
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | fn f_lt<#[lt_fn] 'g>(_: &'g [u32]) -> &'g u32 { loop { } }
|
|
|
|
| ^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `ty_fn` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:40:11
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | fn f_ty<#[ty_fn] O>(_: O) { }
|
|
|
|
| ^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `lt_meth` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:44:15
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | fn m_lt<#[lt_meth] 'h>(_: &'h [u32]) -> &'h u32 { loop { } }
|
|
|
|
| ^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `ty_meth` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:46:15
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | fn m_ty<#[ty_meth] P>(_: P) { }
|
|
|
|
| ^^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
error: cannot find attribute `lt_hof` in this scope
|
|
|
|
--> $DIR/feature-gate-custom_attribute2.rs:51:21
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2020-11-21 15:02:37 +00:00
|
|
|
LL | where Q: for <#[lt_hof] 'i> Fn(&'i [u32]) -> &'i u32
|
|
|
|
| ^^^^^^
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
|
|
error: aborting due to 17 previous errors
|
|
|
|
|