Commit 2f319d8
committed
compiler: support multiple stability attributes on items
This changes the text for E0544. Unfortunately, the example doesn't make
much sense anymore.
The way this merges stability levels together is made to work for
stability-checking and rustdoc; as far as I can tell, only
`rustc_passes::lib_features` needs them separate, and it extracts them
itself.
This includes the clarified/fixed const-unstable semantics that were
previously in a different commit.1 parent 9dd8953 commit 2f319d8
File tree
45 files changed
+799
-376
lines changed- compiler
- rustc_attr
- src
- rustc_const_eval
- src
- check_consts
- rustc_error_codes/src/error_codes
- rustc_expand/src
- rustc_feature/src
- rustc_hir_analysis
- src
- check
- rustc_hir_typeck/src/method
- rustc_lint_defs/src
- rustc_lint/src/context
- rustc_metadata/src/rmeta
- decoder
- rustc_middle/src
- middle
- query
- ty
- rustc_passes
- src
- rustc_resolve/src
- rustc_session/src
- tests/ui/stability-attribute
- auxiliary
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
45 files changed
+799
-376
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3333 | 3333 | | |
3334 | 3334 | | |
3335 | 3335 | | |
| 3336 | + | |
3336 | 3337 | | |
3337 | 3338 | | |
3338 | 3339 | | |
| |||
3505 | 3506 | | |
3506 | 3507 | | |
3507 | 3508 | | |
| 3509 | + | |
3508 | 3510 | | |
3509 | 3511 | | |
3510 | 3512 | | |
| |||
4217 | 4219 | | |
4218 | 4220 | | |
4219 | 4221 | | |
| 4222 | + | |
4220 | 4223 | | |
4221 | 4224 | | |
4222 | 4225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments