rework handling of doc attributes on macro calls - #161514
Conversation
|
Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
| error[E0658]: this subset of the `doc` attribute is meant for internal use only | ||
| --> $DIR/feature-gate-rustdoc_internals.rs:11:3 | ||
| | | ||
| LL | #[doc(fake_variadic)] |
There was a problem hiding this comment.
Could you make this point to fake_variadic rather than doc?
639ab86 to
6c8b490
Compare
This comment has been minimized.
This comment has been minimized.
6c8b490 to
34bac0b
Compare
|
@rustbot ready |
| no_args_and_not_crate_level!(search_unbox) | ||
| } | ||
| Some(sym::rust_logo) => { | ||
| // FIXME: Only feature gated at the crate level (!!) |
There was a problem hiding this comment.
Could you document all the things that need to be fixed in issues? I think that's this
| } | ||
|
|
||
| // FIXME accidentally allowed on Stable Rust | ||
| if target == Target::MacroCall && is_doc_non_lit_expr(attr) { |
There was a problem hiding this comment.
And this
…onathanBrouwer rework handling of doc attributes on macro calls rust-lang#160904 but with the fcw changes removed r? @JonathanBrouwer
|
💔 I suspect this PR failed tests as part of a rollup After fixing the problem, consider running a try job for the failed job before re-approving. Link to failure: #161934 (comment) |
|
This pull request was unapproved. This PR was contained in a rollup (#161934), which was unapproved. |
34bac0b to
6d61487
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
6d61487 to
ab7d048
Compare
This comment has been minimized.
This comment has been minimized.
ab7d048 to
9529e2d
Compare
…onathanbrouwer rework handling of doc attributes on macro calls rust-lang#160904 but with the fcw changes removed r? @JonathanBrouwer
…onathanbrouwer rework handling of doc attributes on macro calls rust-lang#160904 but with the fcw changes removed r? @JonathanBrouwer
Rollup of 7 pull requests Successful merges: - #160941 (Enforce safety comments on `alloc`) - #161975 (Abort instead of unwinding out of an inconsistent BTreeMap::split_off) - #157968 (Preserve ambiguous glob lint for subtrait method picks) - #161514 (rework handling of doc attributes on macro calls) - #161944 (rustdoc: Take into account edition information for keyword highlighting) - #161974 (remove rustc_never_type_options attr remnants) - #161978 (Move rustdoc ui doctests into the right testsuite) Failed merges: - #161702 (Use `drop_guard` in some places in {core,alloc,std})
Rollup merge of #161514 - mejrs:move_doc_feature_gating, r=jonathanbrouwer rework handling of doc attributes on macro calls #160904 but with the fcw changes removed r? @JonathanBrouwer
#160904 but with the fcw changes removed
r? @JonathanBrouwer