]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/no-run-still-checks-lints.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / rustdoc / no-run-still-checks-lints.rs
1 // compile-flags:--test
2 // should-fail
3
4 #![doc(test(attr(deny(warnings))))]
5
6 /// ```no_run
7 /// let a = 3;
8 /// ```
9 pub fn foo() {}