diff options
| author | Michael Goulet <michael@errs.io> | 2024-02-06 19:35:57 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-02-10 03:23:51 +0000 | 
| commit | 973bbfbd23df736dd3a257e42c6cd7e3fe5b0281 (patch) | |
| tree | 7008743c41727f3b1c017b70e51d8547c6fa907e /compiler/rustc_ast_lowering/src/errors.rs | |
| parent | b5c46dc5426038a49c95398bce30eeb20ec421e2 (diff) | |
| download | rust-973bbfbd23df736dd3a257e42c6cd7e3fe5b0281.tar.gz rust-973bbfbd23df736dd3a257e42c6cd7e3fe5b0281.zip | |
No more associated type bounds in dyn trait
Diffstat (limited to 'compiler/rustc_ast_lowering/src/errors.rs')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/errors.rs | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/compiler/rustc_ast_lowering/src/errors.rs b/compiler/rustc_ast_lowering/src/errors.rs index 62253585695..fba8ea206f1 100644 --- a/compiler/rustc_ast_lowering/src/errors.rs +++ b/compiler/rustc_ast_lowering/src/errors.rs @@ -94,11 +94,10 @@ pub struct MisplacedImplTrait<'a> { } #[derive(Diagnostic)] -#[diag(ast_lowering_misplaced_assoc_ty_binding)] -pub struct MisplacedAssocTyBinding<'a> { +#[diag(ast_lowering_assoc_ty_binding_in_dyn)] +pub struct MisplacedAssocTyBinding { #[primary_span] pub span: Span, - pub position: DiagnosticArgFromDisplay<'a>, } #[derive(Diagnostic, Clone, Copy)] | 
