Rollup merge of #80046 - camelid:diag-docs, r=lcnr
Add more documentation to `Diagnostic` and `DiagnosticBuilder` cc `@estebank`
This commit is contained in:
commit
da89dbb41a
3 changed files with 53 additions and 14 deletions
|
@ -1622,7 +1622,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
|
|||
}
|
||||
}
|
||||
(TypeError::ObjectUnsafeCoercion(_), _) => {
|
||||
diag.note_unsuccessfull_coercion(found, expected);
|
||||
diag.note_unsuccessful_coercion(found, expected);
|
||||
}
|
||||
(_, _) => {
|
||||
debug!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue