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