aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests/test
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-25 13:12:17 +0100
committerAleksey Kladov <[email protected]>2018-08-25 13:12:17 +0100
commita80c07bdffc8aa9e1645339c004c12c94e60e402 (patch)
tree71e22f494f686e1293f1d562d8526455962800d8 /crates/libsyntax2/tests/test
parentc3e5987c433cdd0ea95a6b1057b442f4f0fe1ffc (diff)
Avoid massacaring errors
Diffstat (limited to 'crates/libsyntax2/tests/test')
-rw-r--r--crates/libsyntax2/tests/test/main.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/test/main.rs b/crates/libsyntax2/tests/test/main.rs
index e7ae4d601..596f32216 100644
--- a/crates/libsyntax2/tests/test/main.rs
+++ b/crates/libsyntax2/tests/test/main.rs
@@ -59,6 +59,13 @@ struct Foo {
59 f: foo<|><|> 59 f: foo<|><|>
60} 60}
61", ",\n g: (),"); 61", ",\n g: (),");
62 do_check(r"
63fn foo {
64 let;
65 1 + 1;
66 <|>92<|>;
67}
68", "62");
62} 69}
63 70
64 71