From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/macros/issue-68060.stderr | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/ui/macros/issue-68060.stderr (limited to 'tests/ui/macros/issue-68060.stderr') diff --git a/tests/ui/macros/issue-68060.stderr b/tests/ui/macros/issue-68060.stderr new file mode 100644 index 000000000..52e6ed92e --- /dev/null +++ b/tests/ui/macros/issue-68060.stderr @@ -0,0 +1,27 @@ +error: attribute should be applied to a function definition + --> $DIR/issue-68060.rs:4:13 + | +LL | #[target_feature(enable = "")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +... +LL | |_| (), + | ------ not a function definition + +error: the feature named `` is not valid for this target + --> $DIR/issue-68060.rs:4:30 + | +LL | #[target_feature(enable = "")] + | ^^^^^^^^^^^ `` is not valid for this target + +error[E0658]: `#[track_caller]` on closures is currently unstable + --> $DIR/issue-68060.rs:8:13 + | +LL | #[track_caller] + | ^^^^^^^^^^^^^^^ + | + = note: see issue #87417 for more information + = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable + +error: aborting due to 3 previous errors + +For more information about this error, try `rustc --explain E0658`. -- cgit v1.2.3