mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
check top level entry point invariants
This commit is contained in:
parent
fa049d94d1
commit
d846afdeef
5 changed files with 42 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue