Use Session::diagnostic
in more places.
This commit is contained in:
parent
6e9573936f
commit
a179a53565
21 changed files with 51 additions and 66 deletions
|
@ -302,7 +302,7 @@ impl Session {
|
|||
if diags.is_empty() {
|
||||
return;
|
||||
}
|
||||
self.parse_sess.span_diagnostic.emit_future_breakage_report(diags);
|
||||
self.diagnostic().emit_future_breakage_report(diags);
|
||||
}
|
||||
|
||||
/// Returns true if the crate is a testing one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue