about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2022-10-24 17:30:29 +0200
committerGitHub <noreply@github.com>2022-10-24 17:30:29 +0200
commit3ff010bdbc0b138e8761cedcec4d6174b2e7ab61 (patch)
tree1a509ad1b2a9a9951bf54b0b1b08af62d6a28998
parent2484a182399918eab2e25b3532936eebf09d9bb5 (diff)
downloadrust-3ff010bdbc0b138e8761cedcec4d6174b2e7ab61.tar.gz
rust-3ff010bdbc0b138e8761cedcec4d6174b2e7ab61.zip
Update compiler/rustc_lint/src/let_underscore.rs
-rw-r--r--compiler/rustc_lint/src/let_underscore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/let_underscore.rs b/compiler/rustc_lint/src/let_underscore.rs
index b51c1679f9f..c59f56756c6 100644
--- a/compiler/rustc_lint/src/let_underscore.rs
+++ b/compiler/rustc_lint/src/let_underscore.rs
@@ -11,7 +11,7 @@ declare_lint! {
     /// scope.
     ///
     /// ### Example
-    /// ```compile_fail
+    /// ```rust,compile_fail
     /// struct SomeStruct;
     /// impl Drop for SomeStruct {
     ///     fn drop(&mut self) {