From a80c07bdffc8aa9e1645339c004c12c94e60e402 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 25 Aug 2018 15:12:17 +0300 Subject: Avoid massacaring errors --- crates/libsyntax2/tests/test/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crates/libsyntax2/tests/test/main.rs') 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 { f: foo<|><|> } ", ",\n g: (),"); + do_check(r" +fn foo { + let; + 1 + 1; + <|>92<|>; +} +", "62"); } -- cgit v1.2.3