Add compile_fail
to doctest for bindings_with_variant_name
This commit is contained in:
parent
734f375019
commit
1cbce729c7
@ -708,7 +708,7 @@ declare_lint! {
|
||||
///
|
||||
/// ### Example
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,compile_fail
|
||||
/// pub enum Enum {
|
||||
/// Foo,
|
||||
/// Bar,
|
||||
|
Loading…
x
Reference in New Issue
Block a user