Try to recover from path sep error in parser
This commit is contained in:
parent
d8810e3e2d
commit
0aa2e6b606
10 changed files with 92 additions and 40 deletions
|
@ -3071,14 +3071,6 @@ pub(crate) struct BadItemKind {
|
|||
pub help: bool,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(parse_single_colon_struct_type)]
|
||||
pub(crate) struct SingleColonStructType {
|
||||
#[primary_span]
|
||||
#[suggestion(code = "::", applicability = "maybe-incorrect", style = "verbose")]
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(parse_macro_rules_missing_bang)]
|
||||
pub(crate) struct MacroRulesMissingBang {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue