mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
Add compile_fail
to let_underscore_drop
example
This commit is contained in:
parent
1481fd964b
commit
2484a18239
@ -11,7 +11,7 @@ declare_lint! {
|
||||
/// scope.
|
||||
///
|
||||
/// ### Example
|
||||
/// ```
|
||||
/// ```compile_fail
|
||||
/// struct SomeStruct;
|
||||
/// impl Drop for SomeStruct {
|
||||
/// fn drop(&mut self) {
|
||||
|
Loading…
Reference in New Issue
Block a user