mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
internal: Thread edition through to parsing/tt-to-syntax-tree routines for macros
This commit is contained in:
parent
83370fe5d7
commit
a483d3bc37
39 changed files with 187 additions and 145 deletions
|
@ -220,7 +220,7 @@ mod tests {
|
|||
use super::*;
|
||||
|
||||
fn check(ra_fixture: &str, expect: Expect) {
|
||||
let file = SourceFile::parse(ra_fixture).ok().unwrap();
|
||||
let file = SourceFile::parse(ra_fixture, span::Edition::CURRENT).ok().unwrap();
|
||||
let structure = file_structure(&file);
|
||||
expect.assert_debug_eq(&structure)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue