]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-68060.stderr
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / macros / issue-68060.stderr
1 error: attribute should be applied to a function definition
2   --> $DIR/issue-68060.rs:4:13
3    |
4 LL |             #[target_feature(enable = "")]
5    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 ...
7 LL |             |_| (),
8    |             ------ not a function definition
9
10 error: the feature named `` is not valid for this target
11   --> $DIR/issue-68060.rs:4:30
12    |
13 LL |             #[target_feature(enable = "")]
14    |                              ^^^^^^^^^^^ `` is not valid for this target
15
16 error[E0658]: `#[track_caller]` on closures is currently unstable
17   --> $DIR/issue-68060.rs:8:13
18    |
19 LL |             #[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
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0658`.