2022-12-02 11:03:35 -06:00
|
|
|
// Regression test for <https://github.com/rust-lang/rust/issues/105025>
|
2024-02-22 06:10:29 -06:00
|
|
|
//@ aux-build: enum_variant_in_trait_method.rs
|
2022-12-02 11:03:35 -06:00
|
|
|
|
|
|
|
extern crate enum_variant_in_trait_method;
|
|
|
|
|
|
|
|
pub struct Local;
|
|
|
|
|
|
|
|
/// local impl
|
|
|
|
impl enum_variant_in_trait_method::Trait for Local {}
|
|
|
|
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ !has "$.index[*][?(@.name == 'Trait')]"
|
|
|
|
//@ !has "$.index[*][?(@.name == 'method')]"
|
|
|
|
//@ count "$.index[*][?(@.docs == 'local impl')].inner.items[*]" 0
|