Add compile_fail
to doctest for bindings_with_variant_name
This commit is contained in:
parent
734f375019
commit
1cbce729c7
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ declare_lint! {
|
|||
///
|
||||
/// ### Example
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,compile_fail
|
||||
/// pub enum Enum {
|
||||
/// Foo,
|
||||
/// Bar,
|
||||
|
|
Loading…
Add table
Reference in a new issue