rust/src/test
Mazdak Farrokhzad 24af0c94b3
Rollup merge of #65973 - eddyb:caller-location-panic, r=petrochenkov
caller_location: point to macro invocation sites, like file!/line!, and use in core::panic!.

The main change here is to `core::panic!`, trying to fix this remaining regression: https://github.com/rust-lang/rust/pull/65927#issuecomment-547625147

However, in order for `caller_location` to be usable from macros the same way `file!()`/`line!()` are, it needs to have the same behavior (of extracting the macro invocation site `Span` and using that).

Arguably we would've had to do this at some point anyway, if we want to use `#[track_caller]` to replace the `file!()`/`line!()` uses from macros, but I'm not sure the RFC mentions this at all.

r? @petrochenkov cc @anp @nnethercote
2019-11-06 07:03:03 +01:00
..
assembly
auxiliary
codegen rustc_codegen_ssa: move all set_var_name calls to mir::debuginfo. 2019-10-31 20:25:42 +02:00
codegen-units
compile-fail
debuginfo
incremental
mir-opt rustc: remove "GlobalMetaData" dead code from hir::map::definitions. 2019-11-05 21:00:38 +02:00
pretty
run-fail
run-make
run-make-fulldeps Fix macOS tests 2019-11-03 14:04:15 +00:00
run-pass-valgrind
rustdoc Rollup merge of #65857 - kinnison:kinnison/issue-55364, r=Manisheart,GuillaumeGomez 2019-11-01 11:20:12 -07:00
rustdoc-js
rustdoc-js-std
rustdoc-ui use silent emitter for rustdoc highlighting pass 2019-11-03 22:19:34 -05:00
rustfix
ui Rollup merge of #65973 - eddyb:caller-location-panic, r=petrochenkov 2019-11-06 07:03:03 +01:00
ui-fulldeps Update error annotations in ui-fulldeps tests that successfully compile 2019-11-03 10:20:11 +01:00
COMPILER_TESTS.md