about summary refs log tree commit diff
path: root/tests/rustdoc/whitespace-after-where-clause.struct.html
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-31 10:42:24 +0000
committerbors <bors@rust-lang.org>2023-10-31 10:42:24 +0000
commit22b27120b990aa9ca851819ce95149385da7954d (patch)
treeea438ad1aecb2ae98217b5becc2f3c3d4d06969a /tests/rustdoc/whitespace-after-where-clause.struct.html
parentffb7ed9fa420e9bcd98d84b431b2009445b7b967 (diff)
parent8b8906b2641ab2c7b852ac956b7388cb614e5391 (diff)
downloadrust-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