fork/rust

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

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

master
959 B27 linesraw
1error: attribute should be applied to a function definition
2  --> $DIR/issue-68060.rs:4:13
3   |
4LL |             #[target_feature(enable = "")]
5   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6...
7LL |             |_| (),
8   |             ------ not a function definition
9
10error: the feature named `` is not valid for this target
11  --> $DIR/issue-68060.rs:4:30
12   |
13LL |             #[target_feature(enable = "")]
14   |                              ^^^^^^^^^^^ `` is not valid for this target
15
16error[E0658]: `#[track_caller]` on closures is currently unstable
17  --> $DIR/issue-68060.rs:8:13
18   |
19LL |             #[track_caller]
20   |             ^^^^^^^^^^^^^^^
21   |
22   = note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
23   = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
24
25error: aborting due to 3 previous errors
26
27For more information about this error, try `rustc --explain E0658`.