You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Distinguish between error vs. warning for external macros #57716
I often see compiler notes for warnings accompanied with this message:
= note: this error originates in a macro outside this <...>
would it be more sensible and correct to say this _warning_ originates...?
Very superficial but I find seeing "error" in compilation logs catches my eye far too often and
its only a warning. Happy to submit PR if it is a valid change.
Activity
estebank commentedon Jan 18, 2019
This can be easily added at
rust/src/librustc_errors/emitter.rs
Lines 850 to 871 in daa53a5
by looking at the
Diagnostic::codeor, if not available, theDiagnostic::leveland changing the text accordingly.Rollup merge of rust-lang#59574 - JohnTitor:distinguish-error-vs-warn…
Rollup merge of rust-lang#59574 - JohnTitor:distinguish-error-vs-warn…
Rollup merge of rust-lang#59574 - JohnTitor:distinguish-error-vs-warn…
Rollup merge of rust-lang#59574 - JohnTitor:distinguish-error-vs-warn…