summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/auxiliary/lint_output_format.rs
blob: 4e3547250e4c4f1016d42924d0779ae9bedab482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#![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
}