aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/parser/ok/0035_weird_exprs.rs
diff options
context:
space:
mode:
authorDJMcNab <[email protected]>2018-12-21 10:03:02 +0000
committerDJMcNab <[email protected]>2018-12-21 10:03:02 +0000
commit9beee92500bfb5953717a67c18217722ea82be49 (patch)
treed231ac1746f7df690cf2a94bb30f8cc488a827ed /crates/ra_syntax/tests/data/parser/ok/0035_weird_exprs.rs
parentda6be9fdda23213813883cec6493b93f22b8c6ea (diff)
Add comment about the source of the weird_exprs test
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.rs5
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)]