diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok/0035_weird_exprs.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0035_weird_exprs.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0035_weird_exprs.rs b/crates/ra_syntax/tests/data/parser/ok/0035_weird_exprs.rs index 74edc6354..8c1323163 100644 --- a/crates/ra_syntax/tests/data/parser/ok/0035_weird_exprs.rs +++ b/crates/ra_syntax/tests/data/parser/ok/0035_weird_exprs.rs | |||
@@ -1,3 +1,8 @@ | |||
1 | //! Adapted from a `rustc` test, which can be found at | ||
2 | //! https://github.com/rust-lang/rust/blob/6d34ec18c7d7e574553f6347ecf08e1e1c45c13d/src/test/run-pass/weird-exprs.rs. | ||
3 | //! | ||
4 | //! Reported to rust-analyzer in https://github.com/rust-analyzer/rust-analyzer/issues/290 | ||
5 | |||
1 | #![allow(non_camel_case_types)] | 6 | #![allow(non_camel_case_types)] |
2 | #![allow(dead_code)] | 7 | #![allow(dead_code)] |
3 | #![allow(unreachable_code)] | 8 | #![allow(unreachable_code)] |