2018-12-20 10:39:25 +01:00
|
|
|
// ignore-tidy-linelength
|
|
|
|
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
#![feature(staged_api)]
|
|
|
|
|
|
|
|
#![stable(since="1.1.1", feature="rust1")]
|
|
|
|
|
|
|
|
#[stable(since="1.1.1", feature="rust1")]
|
|
|
|
pub struct SomeStruct;
|
|
|
|
|
|
|
|
impl SomeStruct {
|
2018-12-26 21:23:05 -08:00
|
|
|
// @has 'foo/struct.SomeStruct.html' '//*[@id="associatedconstant.SOME_CONST"]//div[@class="since"]' '1.1.2'
|
2018-12-20 10:39:25 +01:00
|
|
|
#[stable(since="1.1.2", feature="rust2")]
|
|
|
|
pub const SOME_CONST: usize = 0;
|
|
|
|
}
|