fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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