]> git.proxmox.com Git - rustc.git/blame - src/test/ui/macros/issue-68060.stderr
New upstream version 1.45.0+dfsg1
[rustc.git] / src / test / ui / macros / issue-68060.stderr
CommitLineData
f9f354fc
XL
1error[E0658]: `#[target_feature(..)]` can only be applied to `unsafe` functions
2 --> $DIR/issue-68060.rs:6:13
74b04a01
XL
3 |
4LL | #[target_feature(enable = "")]
f9f354fc 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74b04a01
XL
6...
7LL | |_| (),
8 | ------ not an `unsafe` function
f9f354fc
XL
9 |
10 = note: see issue #69098 <https://github.com/rust-lang/rust/issues/69098> for more information
11 = help: add `#![feature(target_feature_11)]` to the crate attributes to enable
74b04a01
XL
12
13error: the feature named `` is not valid for this target
f9f354fc 14 --> $DIR/issue-68060.rs:6:30
74b04a01
XL
15 |
16LL | #[target_feature(enable = "")]
17 | ^^^^^^^^^^^ `` is not valid for this target
18
19error[E0737]: `#[track_caller]` requires Rust ABI
f9f354fc 20 --> $DIR/issue-68060.rs:9:13
74b04a01
XL
21 |
22LL | #[track_caller]
23 | ^^^^^^^^^^^^^^^
24
25error: aborting due to 3 previous errors
26
f9f354fc
XL
27Some errors have detailed explanations: E0658, E0737.
28For more information about an error, try `rustc --explain E0658`.