rust/compiler
bors 923e3d2400 Auto merge of #80500 - jyn514:track-caller, r=nagisa
Add `#[track_caller]` to `bug!` and `register_renamed`

Before:

```
thread 'rustc' panicked at 'compiler/rustc_lint/src/context.rs:267:18: invalid lint renaming of broken_intra_doc_links to rustdoc::broken_intra_doc_links', compiler/rustc_middle/src/util/bug.rs:34:26
```

After:

```
thread 'rustc' panicked at 'src/librustdoc/core.rs:455:24: invalid lint renaming of broken_intra_doc_links to rustdoc::broken_intra_doc_links', compiler/rustc_middle/src/util/bug.rs:35:26
```

The reason I added it to `register_renamed` too is that any panic in
that function will be the caller's fault.
2020-12-31 03:17:50 +00:00
..
rustc
rustc_apfloat
rustc_arena stabilize min_const_generics 2020-12-26 18:24:10 +01:00
rustc_ast Rollup merge of #80128 - pierwill:pierwill-docs-fieldpat, r=jyn514 2020-12-30 20:56:49 +00:00
rustc_ast_lowering Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_ast_passes Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_ast_pretty Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_attr
rustc_builtin_macros Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_codegen_cranelift Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27 2020-12-27 10:30:38 +01:00
rustc_codegen_llvm remove unused return types such as empty Results or Options that would always be Some(..) 2020-12-30 13:15:40 +01:00
rustc_codegen_ssa Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_data_structures Bump bootstrap compiler to 1.50 beta 2020-12-30 09:27:19 -05:00
rustc_driver where possible, pass slices instead of &Vec or &String (clippy::ptr_arg) 2020-12-30 13:11:52 +01:00
rustc_error_codes update error codes 2020-12-26 18:24:10 +01:00
rustc_errors
rustc_expand Remove pretty-print/reparse hack, and add derive-specific hack 2020-12-29 09:36:42 -05:00
rustc_feature stabilize min_const_generics 2020-12-26 18:24:10 +01:00
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_hir_pretty
rustc_incremental Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
rustc_index
rustc_infer Rollup merge of #80509 - matthiaskrgr:ptr_arg, r=varkor 2020-12-30 22:49:26 +09:00
rustc_interface Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
rustc_lexer
rustc_lint Auto merge of #80500 - jyn514:track-caller, r=nagisa 2020-12-31 03:17:50 +00:00
rustc_lint_defs Add example to lint docs 2020-12-22 09:33:16 -05:00
rustc_llvm
rustc_macros Rollup merge of #80509 - matthiaskrgr:ptr_arg, r=varkor 2020-12-30 22:49:26 +09:00
rustc_metadata Rename kw::Invalid -> kw::Empty 2020-12-30 09:50:02 -05:00
rustc_middle Auto merge of #80500 - jyn514:track-caller, r=nagisa 2020-12-31 03:17:50 +00:00
rustc_mir Rollup merge of #80491 - RalfJung:dangling-of-val, r=oli-obk 2020-12-30 20:56:56 +00:00
rustc_mir_build Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_parse Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_parse_format
rustc_passes Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_plugin_impl
rustc_privacy Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_query_system rustc_query_system: avoid race condition when using edge_count 2020-12-22 14:12:57 -08:00
rustc_resolve Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_save_analysis Rework beautify_doc_string so that it returns a Symbol instead of a String 2020-12-22 16:05:38 +01:00
rustc_serialize stabilize min_const_generics 2020-12-26 18:24:10 +01:00
rustc_session where possible, pass slices instead of &Vec or &String (clippy::ptr_arg) 2020-12-30 13:11:52 +01:00
rustc_span Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_symbol_mangling
rustc_target
rustc_trait_selection remove unused return types such as empty Results or Options that would always be Some(..) 2020-12-30 13:15:40 +01:00
rustc_traits fix: small typo error in chalk/mod.rs 2020-12-27 03:22:23 +01:00
rustc_ty_utils
rustc_type_ir
rustc_typeck Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00