rust/tests/ui/incoherent-inherent-impls/auxiliary/extern-crate.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
205 B
Rust
Raw Normal View History

#![feature(rustc_attrs)]
#[rustc_has_incoherent_inherent_impls]
pub struct StructWithAttr;
pub struct StructNoAttr;
#[rustc_has_incoherent_inherent_impls]
pub enum EnumWithAttr {}
pub enum EnumNoAttr {}