rust/src/librustdoc/clean
bors 22b27120b9 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`.
2023-10-31 10:42:24 +00:00
..
cfg Use ThinVec in various AST types. 2023-02-21 11:51:56 +11:00
types Correctly handle --document-hidden-items 2023-07-14 17:25:09 +02:00
utils Valid underscores in hex/octal/binary literal docs 2021-05-03 20:11:09 -04:00
auto_trait.rs rustdoc: fix & clean up handling of cross-crate higher-ranked lifetimes 2023-10-03 17:16:51 +02:00
blanket_impl.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
cfg.rs Rollup merge of #114822 - GuillaumeGomez:code-readability-improvement, r=notriddle 2023-08-16 20:10:38 +02:00
inline.rs Auto merge of #116471 - notriddle:notriddle/js-trait-alias, r=GuillaumeGomez 2023-10-27 23:08:24 +00:00
mod.rs Rollup merge of #112463 - fmease:rustdoc-elide-x-crate-def-gen-args, r=GuillaumeGomez 2023-10-30 17:33:14 +01:00
render_macro_matchers.rs Only call parse_token_tree once. 2023-08-02 10:04:00 +10:00
simplify.rs rustdoc: Use ThinVec in GenericParamDefKind 2023-10-29 02:14:41 -04:00
types.rs Rename Since -> StableSince in preparation for a DeprecatedSince 2023-10-29 21:39:57 -07:00
utils.rs rustdoc: elide cross-crate default generic arguments 2023-10-30 16:44:52 +01:00