-
Notifications
You must be signed in to change notification settings - Fork 13.5k
rustdoc: Don't mark #[target_feature]
functions as ⚠
#142977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc: Don't mark #[target_feature]
functions as ⚠
#142977
Conversation
rustbot has assigned @GuillaumeGomez. Use |
1908169
to
84f92f3
Compare
|
||
#[target_feature(enable = "popcnt")] | ||
//@ has 'foo/fn.f1_safe.html' | ||
//@ matches - '//pre[@class="rust item-decl"]' '^pub fn f1_safe' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test needs to use matches
instead of has
to catch check if there was a attribute printed before the function, e.g. to test for #142876 (comment)
Thanks! @bors r+ rollup |
…ature, r=GuillaumeGomez rustdoc: Don't mark `#[target_feature]` functions as ⚠ Closes rust-lang#142952
Rollup of 15 pull requests Successful merges: - #135731 (Implement parsing of pinned borrows) - #138780 (Add `#[loop_match]` for improved DFA codegen) - #142453 (Windows: make `read_dir` stop iterating after the first error is encountered) - #142633 (Error on invalid signatures for interrupt ABIs) - #142768 (Avoid a bitcast FFI call in transmuting) - #142825 (Port `#[track_caller]` to the new attribute system) - #142844 (Enable short-ice for Windows) - #142934 (Tweak `-Zmacro-stats` measurement.) - #142955 (Couple of test suite fixes for cg_clif) - #142977 (rustdoc: Don't mark `#[target_feature]` functions as ⚠) - #142980 (Reduce mismatched-lifetime-syntaxes suggestions to MaybeIncorrect) - #142982 (Corrected spelling mistake in c_str.rs) - #142983 (Taint body on invalid call ABI) - #142988 (Update wasm-component-ld to 0.5.14) - #142993 (Update cargo) r? `@ghost` `@rustbot` modify labels: rollup
Closes #142952