Fix trait object error code
This commit is contained in:
parent
68ca579406
commit
fc9624c673
2 changed files with 3 additions and 3 deletions
|
@ -952,7 +952,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
let mut err = rustc_errors::struct_span_err!(
|
||||
self.sess(),
|
||||
self_ty.span,
|
||||
E0783,
|
||||
E0782,
|
||||
"{}",
|
||||
msg,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue