Commit 70fc288
committed
Do not suggest using
For macros that are implemented on the compiler, or that are annotated with `rustc_diagnostic_item`, which have arbitrary implementations from the point of view of the user and might as well be intrinsics, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros like `panic!` and `format!`.-Zmacro-backtrace for builtin macros1 parent 385970f commit 70fc288
File tree
276 files changed
+41
-679
lines changed- compiler
- rustc_errors/src
- rustc_expand/src
- rustc_span/src
- tests
- run-make/non-unicode-env
- rustdoc-ui/doctest
- ui
- alloc-error
- allocator
- asm
- x86_64
- associated-consts
- associated-types
- async-await
- attributes
- binop
- borrowck
- alias-liveness
- closures
- 2229_closure_analysis/diagnostics
- codemap_tests
- coherence
- const-generics/adt_const_params
- const-ptr
- consts
- const-blocks
- const-eval
- control-flow
- min_const_fn
- required-consts
- coroutine
- custom_test_frameworks
- derives
- deriving
- diagnostic-width
- env-macro
- error-codes
- explicit-tail-calls
- feature-gates
- fmt
- generic-associated-types
- generic-const-items
- generics
- impl-trait/precise-capturing
- include-macros
- inference/need_type_info
- inline-const
- issues
- lifetimes
- lint
- dead-code
- liveness
- loops
- macros
- malformed
- mismatched_types
- modules
- moves
- never_type
- on-unimplemented
- proc-macro
- quote
- range
- reachable
- resolve
- rfcs
- rfc-0000-never_patterns
- rfc-1937-termination-trait
- rfc-2361-dbg-macro
- simd
- span
- statics
- structs/default-field-values
- suggestions
- test-attrs
- custom-test-frameworks
- traits
- const-traits
- const_derives
- next-solver
- transmutability
- try-block
- type-alias-impl-trait
- typeck
- type
- pattern_types
- union
- use
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
276 files changed
+41
-679
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
301 | 303 | | |
302 | 304 | | |
303 | 305 | | |
| |||
309 | 311 | | |
310 | 312 | | |
311 | 313 | | |
312 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
313 | 320 | | |
314 | | - | |
| 321 | + | |
315 | 322 | | |
316 | 323 | | |
317 | 324 | | |
318 | | - | |
| 325 | + | |
319 | 326 | | |
320 | 327 | | |
321 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
760 | 765 | | |
761 | 766 | | |
762 | 767 | | |
| |||
792 | 797 | | |
793 | 798 | | |
794 | 799 | | |
| 800 | + | |
795 | 801 | | |
796 | 802 | | |
797 | 803 | | |
| |||
888 | 894 | | |
889 | 895 | | |
890 | 896 | | |
| 897 | + | |
| 898 | + | |
891 | 899 | | |
892 | | - | |
| 900 | + | |
893 | 901 | | |
894 | 902 | | |
895 | | - | |
| 903 | + | |
896 | 904 | | |
897 | 905 | | |
898 | 906 | | |
899 | 907 | | |
900 | 908 | | |
901 | | - | |
| 909 | + | |
902 | 910 | | |
903 | 911 | | |
904 | 912 | | |
| |||
912 | 920 | | |
913 | 921 | | |
914 | 922 | | |
915 | | - | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
916 | 927 | | |
917 | 928 | | |
918 | 929 | | |
| 930 | + | |
919 | 931 | | |
920 | 932 | | |
921 | 933 | | |
| |||
1000 | 1012 | | |
1001 | 1013 | | |
1002 | 1014 | | |
| 1015 | + | |
1003 | 1016 | | |
1004 | 1017 | | |
1005 | 1018 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
985 | 990 | | |
986 | 991 | | |
987 | 992 | | |
| |||
1000 | 1005 | | |
1001 | 1006 | | |
1002 | 1007 | | |
| 1008 | + | |
1003 | 1009 | | |
1004 | 1010 | | |
1005 | 1011 | | |
| |||
1014 | 1020 | | |
1015 | 1021 | | |
1016 | 1022 | | |
| 1023 | + | |
1017 | 1024 | | |
1018 | 1025 | | |
1019 | 1026 | | |
| |||
1038 | 1045 | | |
1039 | 1046 | | |
1040 | 1047 | | |
| 1048 | + | |
1041 | 1049 | | |
1042 | 1050 | | |
1043 | 1051 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1503 | 1503 | | |
1504 | 1504 | | |
1505 | 1505 | | |
| 1506 | + | |
1506 | 1507 | | |
1507 | 1508 | | |
1508 | 1509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | | - | |
15 | | - | |
16 | 12 | | |
17 | 13 | | |
18 | 14 | | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
34 | | - | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
46 | | - | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
| |||
0 commit comments