Add compile_fail
to let_underscore_drop
example
This commit is contained in:
parent
1481fd964b
commit
2484a18239
@ -11,7 +11,7 @@
|
||||
/// scope.
|
||||
///
|
||||
/// ### Example
|
||||
/// ```
|
||||
/// ```compile_fail
|
||||
/// struct SomeStruct;
|
||||
/// impl Drop for SomeStruct {
|
||||
/// fn drop(&mut self) {
|
||||
|
Loading…
Reference in New Issue
Block a user