blob: 0b243bb52119bae080f3163343f3b4e6ff61340e [file] [log] [blame]
#![feature(staged_api)]
#![stable(feature = "test", since = "0")]
#[stable(feature = "test", since = "0")]
pub struct Reverse<T>(pub T); //~ ERROR field has missing stability attribute
fn main() {
// Make sure the field is used to fill the stability cache
Reverse(0).0;
}