mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Parse contextual dyn keyword properly in edition 2015
This commit is contained in:
parent
9fd6c695da
commit
f4199f786e
10 changed files with 164 additions and 11 deletions
|
@ -83,7 +83,7 @@ fn meta_item() {
|
|||
#[track_caller]
|
||||
fn check(entry: PrefixEntryPoint, input: &str, prefix: &str) {
|
||||
let lexed = LexedStr::new(Edition::CURRENT, input);
|
||||
let input = lexed.to_input();
|
||||
let input = lexed.to_input(Edition::CURRENT);
|
||||
|
||||
let mut n_tokens = 0;
|
||||
for step in entry.parse(&input, Edition::CURRENT).iter() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue