Make incremental nameres test harder

This commit is contained in:
Aleksey Kladov 2020-04-11 17:54:46 +02:00
parent 38c67e5c0d
commit f980b07529

View file

@ -32,6 +32,9 @@ fn typing_inside_a_function_should_not_invalidate_def_map() {
use crate::foo::bar::Baz; use crate::foo::bar::Baz;
enum E { A, B }
use E::*;
fn foo() -> i32 { fn foo() -> i32 {
1 + 1 1 + 1
} }
@ -46,6 +49,9 @@ fn typing_inside_a_function_should_not_invalidate_def_map() {
use crate::foo::bar::Baz; use crate::foo::bar::Baz;
enum E { A, B }
use E::*;
fn foo() -> i32 { 92 } fn foo() -> i32 { 92 }
", ",
); );