rust/src/librustc_typeck
bors 1af79cf34e Auto merge of #32562 - ben0x539:bug-macro, r=nikomatsakis
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
2016-04-02 05:14:25 -07:00
..
check Auto merge of #32562 - ben0x539:bug-macro, r=nikomatsakis 2016-04-02 05:14:25 -07:00
coherence librustc_typeck: use bug!(), span_bug!() 2016-03-31 22:06:52 +02:00
variance librustc_typeck: use bug!(), span_bug!() 2016-03-31 22:06:52 +02:00
astconv.rs librustc_typeck: use bug!(), span_bug!() 2016-03-31 22:06:52 +02:00
Cargo.toml move const_eval and check_match out of librustc 2016-03-30 13:43:36 +02:00
collect.rs librustc_typeck: use bug!(), span_bug!() 2016-03-31 22:06:52 +02:00
constrained_type_params.rs rustc: move cfg, infer, traits and ty from middle to top-level. 2016-03-27 01:05:54 +02:00
diagnostics.rs Add an example for E0034 2016-03-25 19:29:07 +01:00
lib.rs librustc_typeck: use bug!(), span_bug!() 2016-03-31 22:06:52 +02:00
rscope.rs rustc: move cfg, infer, traits and ty from middle to top-level. 2016-03-27 01:05:54 +02:00