Skip to content

Commit 3b9de6f

Browse files
committed
Expect compilation failure
1 parent aced300 commit 3b9de6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2697,7 +2697,7 @@ declare_lint! {
26972697
///
26982698
/// ### Example
26992699
///
2700-
/// ```rust,no_run
2700+
/// ```rust,compile_fail
27012701
/// # #![allow(unused)]
27022702
/// use std::ptr;
27032703
/// unsafe {

0 commit comments

Comments
 (0)