We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff010b commit 6b5f275Copy full SHA for 6b5f275
compiler/rustc_lint/src/let_underscore.rs
@@ -11,7 +11,7 @@ declare_lint! {
11
/// scope.
12
///
13
/// ### Example
14
- /// ```rust,compile_fail
+ /// ```
15
/// struct SomeStruct;
16
/// impl Drop for SomeStruct {
17
/// fn drop(&mut self) {
@@ -56,7 +56,7 @@ declare_lint! {
56
/// of at end of scope, which is typically incorrect.
57
58
59
- /// ```compile_fail
+ /// ```rust,compile_fail
60
/// use std::sync::{Arc, Mutex};
61
/// use std::thread;
62
/// let data = Arc::new(Mutex::new(0));
0 commit comments