1af79cf34e
librustc: Add bug!(), bug_span!() macros as unified entry points for internal compiler errors The macros pass `file!()`, `line!()` and `format_args!(...)` on to a cold, never-inlined function, ultimately calling `session::{span_,}bug_fmt` via the tcx in tls or, failing that, panicking directly. cc @eddyb r? @nikomatsakis |
||
---|---|---|
.. | ||
check | ||
coherence | ||
variance | ||
astconv.rs | ||
Cargo.toml | ||
collect.rs | ||
constrained_type_params.rs | ||
diagnostics.rs | ||
lib.rs | ||
rscope.rs |