mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Add basic edition inline parser test support
This commit is contained in:
parent
7a5bf92b89
commit
713c47f25b
8 changed files with 185 additions and 172 deletions
|
@ -307,6 +307,6 @@ fn expr() {
|
|||
|
||||
#[track_caller]
|
||||
fn check(entry: TopEntryPoint, input: &str, expect: expect_test::Expect) {
|
||||
let (parsed, _errors) = super::parse(entry, input);
|
||||
let (parsed, _errors) = super::parse(entry, input, crate::Edition::CURRENT);
|
||||
expect.assert_eq(&parsed)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue