Skip to content

Commit d2766a9

Browse files
committed
ensure lint-docs build for allow-by-default must_not_suspend
1 parent 1e2feb9 commit d2766a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ declare_lint! {
322322
///
323323
/// ```rust
324324
/// #![feature(must_not_suspend)]
325+
/// #![warn(must_not_suspend)]
325326
///
326327
/// #[must_not_suspend]
327328
/// struct SyncThing {}

0 commit comments

Comments
 (0)