diff options
| author | bors <bors@rust-lang.org> | 2016-04-02 05:14:25 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-04-02 05:14:25 -0700 |
| commit | 1af79cf34e1fd6f38ba256631e2997ca650e490b (patch) | |
| tree | 948fcb5f24d7ab395263ac9bdf6cc34214051f1d /src/libsyntax/errors | |
| parent | f2285bdaf57e9cb56120902ae4b3b0a26d761f31 (diff) | |
| parent | 33cc0ed1f0c7aab766f2572481cea5a0401b8b8e (diff) | |
| download | rust-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/errors')
0 files changed, 0 insertions, 0 deletions
