@@ -114,7 +114,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
114
114
cx,
115
115
LET_UNDERSCORE_LOCK ,
116
116
local. span ,
117
- "non-binding let on a synchronization lock" ,
117
+ "non-binding ` let` on a synchronization lock" ,
118
118
None ,
119
119
"consider using an underscore-prefixed named \
120
120
binding or dropping explicitly with `std::mem::drop`",
@@ -125,7 +125,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
125
125
cx,
126
126
LET_UNDERSCORE_FUTURE ,
127
127
local. span ,
128
- "non-binding let on a future" ,
128
+ "non-binding ` let` on a future" ,
129
129
None ,
130
130
"consider awaiting the future or dropping explicitly with `std::mem::drop`"
131
131
) ;
@@ -134,7 +134,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
134
134
cx,
135
135
LET_UNDERSCORE_MUST_USE ,
136
136
local. span ,
137
- "non-binding let on an expression with `#[must_use]` type" ,
137
+ "non-binding ` let` on an expression with `#[must_use]` type" ,
138
138
None ,
139
139
"consider explicitly using expression value" ,
140
140
) ;
@@ -143,7 +143,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
143
143
cx,
144
144
LET_UNDERSCORE_MUST_USE ,
145
145
local. span ,
146
- "non-binding let on a result of a `#[must_use]` function" ,
146
+ "non-binding ` let` on a result of a `#[must_use]` function" ,
147
147
None ,
148
148
"consider explicitly using function result" ,
149
149
) ;
0 commit comments