Bring attention to suggestions when the only difference is capitalization
This commit is contained in:
parent
898f36c83c
commit
4bb771615e
38 changed files with 121 additions and 71 deletions
|
|
@ -23,7 +23,7 @@ use syntax::feature_gate::UnstableFeatures;
|
|||
use syntax::source_map::SourceMap;
|
||||
|
||||
use errors::emitter::HumanReadableErrorType;
|
||||
use errors::{ColorConfig, FatalError, Handler};
|
||||
use errors::{ColorConfig, FatalError, Handler, SourceMapperDyn};
|
||||
|
||||
use getopts;
|
||||
|
||||
|
|
@ -1854,6 +1854,7 @@ struct NullEmitter;
|
|||
|
||||
impl errors::emitter::Emitter for NullEmitter {
|
||||
fn emit_diagnostic(&mut self, _: &errors::Diagnostic) {}
|
||||
fn source_map(&self) -> Option<&Lrc<SourceMapperDyn>> { None }
|
||||
}
|
||||
|
||||
// Converts strings provided as `--cfg [cfgspec]` into a `crate_cfg`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue