fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

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