Skip to content
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

Rollup of 7 pull requests #129435

Closed
wants to merge 20 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
703007f
rustc_target: Add various aarch64 features
mrkajetanp Jun 14, 2024
8be8db5
rustc_target: Add SME aarch64 features
mrkajetanp Jun 17, 2024
3a18512
rustc_target: Remove fpmr target feature
mrkajetanp Jul 29, 2024
23a6936
rustc_codegen_llvm: Filter out unavailable LLVM features
mrkajetanp Aug 9, 2024
2762869
tests/ui: Update error messages with aarch64 target features
mrkajetanp Aug 9, 2024
803cbaf
Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rs
rezwanahmedsami Aug 17, 2024
9f39427
Added #[cfg(target_arch = x86_64)] to f16 and f128
rezwanahmedsami Aug 18, 2024
dbad758
Stabilize feature `char_indices_offset`
eduardosm Aug 19, 2024
f1fac42
llvm 20: adapt integer comparison tests
krasimirgg Aug 21, 2024
18b7735
rewrite libtest-thread-limit to rmake
Oneirical Aug 1, 2024
e37e15d
Fix extern crates not being hidden with `doc(hidden)`
GuillaumeGomez Aug 22, 2024
4de29c9
Add regression test for #126796
GuillaumeGomez Aug 22, 2024
8151de2
rustdoc-search: use tighter json for names and parents
notriddle Aug 22, 2024
4a4d517
Rollup merge of #128192 - mrkajetanp:feature-detect, r=Amanieu
tgross35 Aug 23, 2024
465118f
Rollup merge of #128507 - Oneirical:testart-from-scratch, r=jieyouxu
tgross35 Aug 23, 2024
42e8972
Rollup merge of #129190 - rezwanahmedsami:master, r=tgross35
tgross35 Aug 23, 2024
fba4f74
Rollup merge of #129276 - eduardosm:stabilize-char_indices_offset, r=…
tgross35 Aug 23, 2024
5cdb52a
Rollup merge of #129350 - krasimirgg:llvm20, r=nikic
tgross35 Aug 23, 2024
41b9420
Rollup merge of #129414 - GuillaumeGomez:fix-doc-hidden-crates, r=not…
tgross35 Aug 23, 2024
9bc517d
Rollup merge of #129426 - notriddle:smaller-index-2024-08-22, r=Guill…
tgross35 Aug 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add regression test for #126796
  • Loading branch information
GuillaumeGomez committed Aug 22, 2024
commit 4de29c90478003ce28880e92986ee7f2fc9c2d33
27 changes: 27 additions & 0 deletions tests/rustdoc/doc-hidden-crate.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Regression test for <https://github.com/rust-lang/rust/issues/126796>.
// `doc(hidden)` should still be able to hide extern crates, only the local crates
// cannot be hidden because we still need to generate its `index.html` file.

#![crate_name = "foo"]
#![doc(hidden)]

//@ has 'foo/index.html'
// First we check that the page contains the crate name (`foo`).
//@ has - '//*' 'foo'
// But doesn't contain any of the other items.
//@ !has - '//*' 'other'
//@ !has - '//*' 'marker'
//@ !has - '//*' 'PhantomData'

#[doc(inline)]
pub use std as other;

#[doc(inline)]
pub use std::marker;

#[doc(inline)]
pub use std::marker::PhantomData;

//@ !has - '//*' 'myself'
#[doc(inline)]
pub use crate as myself;
Loading