mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
itroduce trait for ast tokens
This commit is contained in:
parent
3f4be81912
commit
fa6e0b0d38
12 changed files with 34 additions and 59 deletions
|
@ -1,7 +1,7 @@
|
|||
//! Validation of byte literals
|
||||
|
||||
use crate::{
|
||||
ast::{self, AstNode},
|
||||
ast::{self, AstNode, AstToken},
|
||||
string_lexing::{self, StringComponentKind},
|
||||
TextRange,
|
||||
validation::char,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use crate::{
|
||||
ast::{self, AstNode},
|
||||
ast::{self, AstNode, AstToken},
|
||||
string_lexing::{self, StringComponentKind},
|
||||
yellow::{
|
||||
SyntaxError,
|
||||
|
|
|
@ -5,7 +5,7 @@ use std::u32;
|
|||
use arrayvec::ArrayString;
|
||||
|
||||
use crate::{
|
||||
ast::{self, AstNode},
|
||||
ast::{self, AstNode, AstToken},
|
||||
string_lexing::{self, StringComponentKind},
|
||||
TextRange,
|
||||
yellow::{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use crate::{
|
||||
ast::{self, AstNode},
|
||||
ast::{self, AstNode, AstToken},
|
||||
string_lexing,
|
||||
yellow::{
|
||||
SyntaxError,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue