rust/src/librustc/session
Zack M. Davis 5cc488d250 deduplicate projection error (E0271) messages
The `ErrorId` variant takes a u16 so that `DiagnosticMessageId` can retain
its `Copy` status (the present author's first choice having been the "EXXX"
code as a string).

The duplicated "type mismatch resolving `{}`" literal is unfortunate, but
the `struct_span_err!` macro (which we want to mark that error code as
used) is fussy about taking a literal, and the one-time-diagnostics set
needs an owned string.

This is concerning #33941 and probably #45805!
2017-11-12 19:34:27 -08:00
..
code_stats.rs use field init shorthand in src/librustc 2017-07-05 22:37:10 -07:00
config.rs Make saturating u128 -> f32 casts the default behavior 2017-11-10 10:12:30 +01:00
filesearch.rs address more FIXME whose associated issues were marked as closed 2017-10-08 00:27:28 +03:00
mod.rs deduplicate projection error (E0271) messages 2017-11-12 19:34:27 -08:00
search_paths.rs Add the notion of a dependency tracking status to commandline arguments. 2016-08-11 09:56:00 -04:00