rust/tests/ui/marker_trait_attr/overlapping-impl-1-modulo-regions.rs

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

10 lines
154 B
Rust
Raw Normal View History

2021-08-18 09:27:25 -05:00
// check-pass
#![feature(marker_trait_attr)]
#[marker]
pub trait F {}
impl<T> F for T where T: Copy {}
impl<T> F for T where T: 'static {}
fn main() {}