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
|
/// ### Example
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust,compile_fail
|
||||||
/// pub enum Enum {
|
/// pub enum Enum {
|
||||||
/// Foo,
|
/// Foo,
|
||||||
/// Bar,
|
/// Bar,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user