summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2091-track-caller/error-with-start.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-2091-track-caller/error-with-start.rs')
-rw-r--r--tests/ui/rfc-2091-track-caller/error-with-start.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/ui/rfc-2091-track-caller/error-with-start.rs b/tests/ui/rfc-2091-track-caller/error-with-start.rs
deleted file mode 100644
index 0cab47170..000000000
--- a/tests/ui/rfc-2091-track-caller/error-with-start.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-#![feature(start)]
-
-#[start]
-#[track_caller] //~ ERROR `start` is not allowed to be `#[track_caller]`
-fn start(_argc: isize, _argv: *const *const u8) -> isize {
- panic!("{}: oh no", std::panic::Location::caller());
-}