Use Session::diagnostic
in more places.
This commit is contained in:
parent
6e9573936f
commit
a179a53565
21 changed files with 51 additions and 66 deletions
|
@ -143,7 +143,7 @@ pub fn link_binary<'a>(
|
|||
}
|
||||
}
|
||||
if sess.opts.json_artifact_notifications {
|
||||
sess.parse_sess.span_diagnostic.emit_artifact_notification(&out_filename, "link");
|
||||
sess.diagnostic().emit_artifact_notification(&out_filename, "link");
|
||||
}
|
||||
|
||||
if sess.prof.enabled() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue