summaryrefslogtreecommitdiff
path: root/subprojects/thiserror/tests/ui/raw-identifier.rs
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/thiserror/tests/ui/raw-identifier.rs')
-rw-r--r--subprojects/thiserror/tests/ui/raw-identifier.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/subprojects/thiserror/tests/ui/raw-identifier.rs b/subprojects/thiserror/tests/ui/raw-identifier.rs
deleted file mode 100644
index e7e66d0..0000000
--- a/subprojects/thiserror/tests/ui/raw-identifier.rs
+++ /dev/null
@@ -1,12 +0,0 @@
-use thiserror::Error;
-
-#[derive(Error, Debug)]
-#[error("error: {r#fn}")]
-pub struct Error {
- r#fn: &'static str,
-}
-
-fn main() {
- let r#fn = "...";
- let _ = format!("error: {r#fn}");
-}