Add compile_fail to doctest for bindings_with_variant_name

This commit is contained in:
--global 2022-11-08 11:01:03 -05:00 committed by Tim Roberts
parent 734f375019
commit 1cbce729c7

View File

@ -708,7 +708,7 @@ declare_lint! {
/// ///
/// ### Example /// ### Example
/// ///
/// ```rust /// ```rust,compile_fail
/// pub enum Enum { /// pub enum Enum {
/// Foo, /// Foo,
/// Bar, /// Bar,