mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-27 18:26:19 +00:00
Bump rustc crates
This commit is contained in:
parent
9e86544698
commit
ac8c057d87
4 changed files with 29 additions and 22 deletions
|
|
@ -297,7 +297,8 @@ pub(crate) fn parse(
|
|||
unfinished_literal.clear();
|
||||
}
|
||||
|
||||
let span = parser.arg_places.get(placeholder_index).and_then(|s| to_span(s.clone()));
|
||||
let span =
|
||||
parser.arg_places.get(placeholder_index).and_then(|s| to_span(s.clone()));
|
||||
placeholder_index += 1;
|
||||
|
||||
let position_span = to_span(position_span);
|
||||
|
|
|
|||
|
|
@ -179,7 +179,10 @@ impl<'a> Converter<'a> {
|
|||
COMMENT
|
||||
}
|
||||
|
||||
rustc_lexer::TokenKind::Frontmatter { has_invalid_preceding_whitespace, invalid_infostring } => {
|
||||
rustc_lexer::TokenKind::Frontmatter {
|
||||
has_invalid_preceding_whitespace,
|
||||
invalid_infostring,
|
||||
} => {
|
||||
if *has_invalid_preceding_whitespace {
|
||||
err = "invalid preceding whitespace for frontmatter opening"
|
||||
} else if *invalid_infostring {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue