Add compile_fail
to let_underscore_drop
example
This commit is contained in:
parent
1481fd964b
commit
2484a18239
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ declare_lint! {
|
|||
/// scope.
|
||||
///
|
||||
/// ### Example
|
||||
/// ```
|
||||
/// ```compile_fail
|
||||
/// struct SomeStruct;
|
||||
/// impl Drop for SomeStruct {
|
||||
/// fn drop(&mut self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue