check top level entry point invariants

This commit is contained in:
Aleksey Kladov 2022-01-02 18:41:32 +03:00
parent fa049d94d1
commit d846afdeef
5 changed files with 42 additions and 12 deletions

View file

@ -1148,7 +1148,7 @@ fn foo() { let a = id!([0u32, bar($0)] ); }
fn test_hover_through_literal_string_in_macro() {
check(
r#"
macro_rules! arr { ($($tt:tt)*) => { [$($tt)*)] } }
macro_rules! arr { ($($tt:tt)*) => { [$($tt)*] } }
fn foo() {
let mastered_for_itunes = "";
let _ = arr!("Tr$0acks", &mastered_for_itunes);