Files
rust/tests/ui/unstable-feature-bound/auxiliary/unstable_impl_coherence_aux.rs

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

12 lines
283 B
Rust
Raw Normal View History

2025-07-14 13:38:36 +00:00
#![allow(internal_features)]
#![feature(staged_api)]
#![allow(dead_code)]
#![stable(feature = "a", since = "1.1.1" )]
#[stable(feature = "a", since = "1.1.1" )]
pub trait Trait {}
#[unstable_feature_bound(foo)]
#[unstable(feature = "foo", issue = "none" )]
impl <T> Trait for T {}