14 lines
318 B
Rust
14 lines
318 B
Rust
|
#![feature(staged_api)]
|
||
|
#![stable(feature = "libfoo", since = "1.0.0")]
|
||
|
|
||
|
#[unstable(feature = "foo", reason = "...", issue = "none")]
|
||
|
pub fn foo() {}
|
||
|
|
||
|
#[stable(feature = "libfoo", since = "1.0.0")]
|
||
|
pub struct Foo;
|
||
|
|
||
|
impl Foo {
|
||
|
#[unstable(feature = "foo", reason = "...", issue = "none")]
|
||
|
pub fn foo(&self) {}
|
||
|
}
|