Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/test_data/parser/ok/0044_let_attrs.rs')
| -rw-r--r-- | crates/parser/test_data/parser/ok/0044_let_attrs.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/parser/test_data/parser/ok/0044_let_attrs.rs b/crates/parser/test_data/parser/ok/0044_let_attrs.rs new file mode 100644 index 0000000000..325a97aebd --- /dev/null +++ b/crates/parser/test_data/parser/ok/0044_let_attrs.rs @@ -0,0 +1,5 @@ +// https://github.com/rust-analyzer/rust-analyzer/issues/677 +fn main() { + #[cfg(feature = "backtrace")] + let exit_code = panic::catch_unwind(move || main()); +} |