Add missing checks for doc(cfg_hide(...))#102954
Conversation
|
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
|
☔ The latest upstream changes (presumably #102948) made this pull request unmergeable. Please resolve the merge conflicts. |
f855c7d to
656dadf
Compare
|
Fixed the conflict. |
Manishearth
left a comment
There was a problem hiding this comment.
before stabilizing we probably should support it on items too, though
There was a problem hiding this comment.
issue: please document what the rules for it being well formatted are
656dadf to
6f0c247
Compare
|
I updated the docs. Allowing it on items sounds like a good idea even though I'm not completely sure why you would want to hide a |
|
@bors r+ @GuillaumeGomez because you're using internal cfgs or something weird for your module. This is quite common. |
…s, r=Manishearth Add missing checks for `doc(cfg_hide(...))` Part of rust-lang#43781. The `doc(cfg_hide(...))` attribute can only be used at the crate level and takes a list of attributes as argument. r? `@Manishearth`
…s, r=Manishearth Add missing checks for `doc(cfg_hide(...))` Part of rust-lang#43781. The `doc(cfg_hide(...))` attribute can only be used at the crate level and takes a list of attributes as argument. r? ``@Manishearth``
Rollup of 6 pull requests Successful merges: - rust-lang#102773 (Use semaphores for thread parking on Apple platforms) - rust-lang#102884 (resolve: Some cleanup, asserts and tests for lifetime ribs) - rust-lang#102954 (Add missing checks for `doc(cfg_hide(...))`) - rust-lang#102998 (Drop temporaries created in a condition, even if it's a let chain) - rust-lang#103003 (Fix `suggest_floating_point_literal` ICE) - rust-lang#103041 (Update cargo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Part of #43781.
The
doc(cfg_hide(...))attribute can only be used at the crate level and takes a list of attributes as argument.r? @Manishearth