fork/rust

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

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

master
3.3 KiB138 linesraw
1error[E0658]: attributes on expressions are experimental
2  --> $DIR/wild_patterns.rs:22:13
3   |
4LL |     let c = #[rustc_capture_analysis]
5   |             ^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
8   = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
9
10error[E0658]: attributes on expressions are experimental
11  --> $DIR/wild_patterns.rs:40:13
12   |
13LL |     let c = #[rustc_capture_analysis]
14   |             ^^^^^^^^^^^^^^^^^^^^^^^^^
15   |
16   = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
17   = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
18
19error[E0658]: attributes on expressions are experimental
20  --> $DIR/wild_patterns.rs:58:13
21   |
22LL |     let c = #[rustc_capture_analysis]
23   |             ^^^^^^^^^^^^^^^^^^^^^^^^^
24   |
25   = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
26   = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
27
28error: First Pass analysis includes:
29  --> $DIR/wild_patterns.rs:25:5
30   |
31LL | /     || {
32LL | |
33LL | |
34LL | |         // FIXME(arora-aman): Change `_x` to `_`
35...  |
36LL | |
37LL | |     };
38   | |_____^
39   |
40note: Capturing p[(0, 0)] -> ImmBorrow
41  --> $DIR/wild_patterns.rs:29:37
42   |
43LL |         let Point { x: _x, y: _ } = p;
44   |                                     ^
45
46error: Min Capture analysis includes:
47  --> $DIR/wild_patterns.rs:25:5
48   |
49LL | /     || {
50LL | |
51LL | |
52LL | |         // FIXME(arora-aman): Change `_x` to `_`
53...  |
54LL | |
55LL | |     };
56   | |_____^
57   |
58note: Min Capture p[(0, 0)] -> ImmBorrow
59  --> $DIR/wild_patterns.rs:29:37
60   |
61LL |         let Point { x: _x, y: _ } = p;
62   |                                     ^
63
64error: First Pass analysis includes:
65  --> $DIR/wild_patterns.rs:43:5
66   |
67LL | /     || {
68LL | |
69LL | |
70LL | |         // FIXME(arora-aman): Change `_x` to `_`
71...  |
72LL | |
73LL | |     };
74   | |_____^
75   |
76note: Capturing t[(0, 0)] -> ByValue
77  --> $DIR/wild_patterns.rs:47:23
78   |
79LL |         let (_x, _) = t;
80   |                       ^
81
82error: Min Capture analysis includes:
83  --> $DIR/wild_patterns.rs:43:5
84   |
85LL | /     || {
86LL | |
87LL | |
88LL | |         // FIXME(arora-aman): Change `_x` to `_`
89...  |
90LL | |
91LL | |     };
92   | |_____^
93   |
94note: Min Capture t[(0, 0)] -> ByValue
95  --> $DIR/wild_patterns.rs:47:23
96   |
97LL |         let (_x, _) = t;
98   |                       ^
99
100error: First Pass analysis includes:
101  --> $DIR/wild_patterns.rs:61:5
102   |
103LL | /     || {
104LL | |
105LL | |
106LL | |         // FIXME(arora-aman): Change `_x` to `_`
107...  |
108LL | |
109LL | |     };
110   | |_____^
111   |
112note: Capturing arr[Index] -> ByValue
113  --> $DIR/wild_patterns.rs:65:23
114   |
115LL |         let [_x, _] = arr;
116   |                       ^^^
117
118error: Min Capture analysis includes:
119  --> $DIR/wild_patterns.rs:61:5
120   |
121LL | /     || {
122LL | |
123LL | |
124LL | |         // FIXME(arora-aman): Change `_x` to `_`
125...  |
126LL | |
127LL | |     };
128   | |_____^
129   |
130note: Min Capture arr[] -> ByValue
131  --> $DIR/wild_patterns.rs:65:23
132   |
133LL |         let [_x, _] = arr;
134   |                       ^^^
135
136error: aborting due to 9 previous errors
137
138For more information about this error, try `rustc --explain E0658`.