Split note, fix const/static impl trait error
This commit is contained in:
parent
0f3957487b
commit
7e38b70cc0
39 changed files with 257 additions and 129 deletions
|
@ -90,6 +90,7 @@ pub enum AssocTyParenthesesSub {
|
|||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(ast_lowering_misplaced_impl_trait, code = "E0562")]
|
||||
#[note]
|
||||
pub struct MisplacedImplTrait<'a> {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue