about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-04-02 05:14:25 -0700
committerbors <bors@rust-lang.org>2016-04-02 05:14:25 -0700
commit1af79cf34e1fd6f38ba256631e2997ca650e490b (patch)
tree948fcb5f24d7ab395263ac9bdf6cc34214051f1d /src/libsyntax/parse
parentf2285bdaf57e9cb56120902ae4b3b0a26d761f31 (diff)
parent33cc0ed1f0c7aab766f2572481cea5a0401b8b8e (diff)
downloadrust-1af79cf34e1fd6f38ba256631e2997ca650e490b.tar.gz
rust-1af79cf34e1fd6f38ba256631e2997ca650e490b.zip
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
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions