rust/tests/run-make/CURRENT_RUSTC_VERSION/stable.rs
jyn d5f2b8e5c6 Only depend on CFG_VERSION in rustc_interface
this avoids having to rebuild the whole compiler on each commit when
`omit-git-hash = false`.
2023-05-17 23:54:21 -05:00

6 lines
148 B
Rust

#![feature(staged_api)]
#![stable(since = "1.0.0", feature = "rust1")]
#[stable(since = "CURRENT_RUSTC_VERSION", feature = "foo")]
pub fn foo() {}