]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/force-target-feature.rs
Rollup merge of #106707 - ehuss:remove-dupe-sha-1, r=Mark-Simulacrum
[rust.git] / tests / rustdoc / force-target-feature.rs
1 // only-x86_64
2 // compile-flags:--test -C target-feature=+avx
3 // should-fail
4
5 /// (written on a spider's web) Some Struct
6 ///
7 /// ```
8 /// panic!("oh no");
9 /// ```
10 #[doc(cfg(target_feature = "avx"))]
11 pub struct SomeStruct;