Skip to content

Commit 71027b7

Browse files
committed
set compile_fail
1 parent 02ed3f0 commit 71027b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scope/lifetime/static_lifetime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ demonstrate, the below example uses
6969
to dynamically create `'static` references. In that case it definitely doesn't
7070
live for the entire duration, but only for the leaking point onward.
7171

72-
```rust,editable,norun
72+
```rust,editable,compile_fail
7373
extern crate rand;
7474
use rand::Fill;
7575

0 commit comments

Comments
 (0)