diff options
| author | bors <bors@rust-lang.org> | 2023-10-31 10:42:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-31 10:42:24 +0000 |
| commit | 22b27120b990aa9ca851819ce95149385da7954d (patch) | |
| tree | ea438ad1aecb2ae98217b5becc2f3c3d4d06969a /tests/rustdoc/whitespace-after-where-clause.struct.html | |
| parent | ffb7ed9fa420e9bcd98d84b431b2009445b7b967 (diff) | |
| parent | 8b8906b2641ab2c7b852ac956b7388cb614e5391 (diff) | |
| download | rust-22b27120b990aa9ca851819ce95149385da7954d.tar.gz rust-22b27120b990aa9ca851819ce95149385da7954d.zip | |
Auto merge of #117377 - dtolnay:deprecatedsince, r=cjgillot
Store #[deprecated] attribute's `since` value in parsed form This PR implements the first followup bullet listed in https://github.com/rust-lang/rust/pull/117148#issue-1960240108. We centralize error handling to the attribute parsing code in `compiler/rustc_attr/src/builtin.rs`, and thereby remove some awkward error codepaths from later phases of compilation that had to make sense of these #\[deprecated\] attributes, namely `compiler/rustc_passes/src/stability.rs` and `compiler/rustc_middle/src/middle/stability.rs`.
Diffstat (limited to 'tests/rustdoc/whitespace-after-where-clause.struct.html')
0 files changed, 0 insertions, 0 deletions
