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