Commit 9135d8f
committed
Lower lifetime resolution failures that are suppressed by Rustdoc
Rather than emit errors in cases that were previously suppressed by
Rustdoc, we lower such name resolution failures to a new
`RustdocSuppressedError` variant.1 parent f9725d5 commit 9135d8f
5 files changed
Lines changed: 32 additions & 10 deletions
File tree
- compiler
- rustc_ast_lowering/src
- rustc_hir_analysis/src/collect
- rustc_hir/src
- rustc_resolve/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1952 | 1952 | | |
1953 | 1953 | | |
1954 | 1954 | | |
| 1955 | + | |
1955 | 1956 | | |
1956 | 1957 | | |
1957 | 1958 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| 992 | + | |
| 993 | + | |
992 | 994 | | |
993 | 995 | | |
994 | 996 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
239 | 242 | | |
240 | 243 | | |
241 | 244 | | |
| |||
258 | 261 | | |
259 | 262 | | |
260 | 263 | | |
261 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
262 | 268 | | |
263 | 269 | | |
264 | 270 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
| 807 | + | |
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| |||
891 | 891 | | |
892 | 892 | | |
893 | 893 | | |
| 894 | + | |
| 895 | + | |
894 | 896 | | |
895 | 897 | | |
896 | 898 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2342 | 2342 | | |
2343 | 2343 | | |
2344 | 2344 | | |
2345 | | - | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
2346 | 2349 | | |
2347 | 2350 | | |
2348 | 2351 | | |
| |||
3068 | 3071 | | |
3069 | 3072 | | |
3070 | 3073 | | |
3071 | | - | |
| 3074 | + | |
3072 | 3075 | | |
3073 | 3076 | | |
3074 | 3077 | | |
3075 | | - | |
| 3078 | + | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
| 3083 | + | |
| 3084 | + | |
3076 | 3085 | | |
3077 | 3086 | | |
3078 | 3087 | | |
| |||
4701 | 4710 | | |
4702 | 4711 | | |
4703 | 4712 | | |
4704 | | - | |
4705 | | - | |
4706 | | - | |
4707 | | - | |
| 4713 | + | |
| 4714 | + | |
| 4715 | + | |
| 4716 | + | |
| 4717 | + | |
| 4718 | + | |
4708 | 4719 | | |
4709 | 4720 | | |
4710 | 4721 | | |
| |||
0 commit comments