rust/compiler/rustc_lint/src
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
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
builtin.rs Rename kw::Invalid -> kw::Empty 2020-12-30 09:50:02 -05:00
context.rs Auto merge of #80500 - jyn514:track-caller, r=nagisa 2020-12-31 03:17:50 +00:00
early.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
internal.rs Only deny doc_keyword in std and set it as "allow" by default 2020-12-03 16:48:17 +01:00
late.rs Fix inconsistencies in handling of inert attributes on statements 2020-10-24 11:55:48 -04:00
levels.rs Document rustc_middle::lint::LevelSource 2020-12-21 15:03:00 -08:00
lib.rs Auto merge of #78242 - Nadrieril:rename-overlapping_endpoints-lint, r=varkor 2020-12-22 10:32:03 +00:00
methods.rs Fix doctest 2020-10-26 18:19:49 -04:00
non_ascii_idents.rs Auto merge of #76541 - matthiaskrgr:unstable_sort, r=davidtwco 2020-09-14 21:43:17 +00:00
nonstandard_style.rs don't create owned values for comparison (clippy::cmp_owned) 2020-12-08 20:27:48 +01:00
panic_fmt.rs Improve panic_fmt lint messages. 2020-10-29 19:44:06 +01:00
passes.rs Add check_generic_arg early pass 2020-10-16 17:14:36 -03:00
redundant_semicolon.rs Lint on redundant trailing semicolon after item 2020-12-29 16:30:02 -05:00
traits.rs Uplift drop-bounds lint from clippy 2020-10-01 12:06:33 -07:00
types.rs Fix new 'unnecessary trailing semicolon' warnings 2020-11-26 17:08:36 -05:00
unused.rs Move binder for dyn to each list item 2020-12-11 15:02:46 -05:00