rust/tests/ui/lint/auxiliary/lint_output_format.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
481 B
Rust
Raw Normal View History

#![crate_name="lint_output_format"]
#![crate_type = "lib"]
#![feature(staged_api)]
#![unstable(feature = "unstable_test_feature", issue = "none")]
2017-04-24 03:19:12 -05:00
2018-07-23 06:23:40 -05:00
#[stable(feature = "stable_test_feature", since = "1.0.0")]
2022-03-04 20:59:18 -06:00
#[deprecated(since = "1.0.0", note = "text")]
pub fn foo() -> usize {
20
2017-04-24 03:19:12 -05:00
}
#[unstable(feature = "unstable_test_feature", issue = "none")]
pub fn bar() -> usize {
40
2017-04-24 03:19:12 -05:00
}
#[unstable(feature = "unstable_test_feature", issue = "none")]
pub fn baz() -> usize {
30
2017-04-24 03:19:12 -05:00
}