rust/tests/ui/lint/auxiliary/lint_output_format.rs
2023-01-11 09:32:08 +00:00

21 lines
481 B
Rust

#![crate_name="lint_output_format"]
#![crate_type = "lib"]
#![feature(staged_api)]
#![unstable(feature = "unstable_test_feature", issue = "none")]
#[stable(feature = "stable_test_feature", since = "1.0.0")]
#[deprecated(since = "1.0.0", note = "text")]
pub fn foo() -> usize {
20
}
#[unstable(feature = "unstable_test_feature", issue = "none")]
pub fn bar() -> usize {
40
}
#[unstable(feature = "unstable_test_feature", issue = "none")]
pub fn baz() -> usize {
30
}