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