]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/auxiliary/lint_output_format.rs
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / auxiliary / lint_output_format.rs
1 #![crate_name="lint_output_format"]
2 #![crate_type = "lib"]
3 #![feature(staged_api)]
4 #![unstable(feature = "unstable_test_feature", issue = "none")]
5
6 #[stable(feature = "stable_test_feature", since = "1.0.0")]
7 #[deprecated(since = "1.0.0", note = "text")]
8 pub fn foo() -> usize {
9     20
10 }
11
12 #[unstable(feature = "unstable_test_feature", issue = "none")]
13 pub fn bar() -> usize {
14     40
15 }
16
17 #[unstable(feature = "unstable_test_feature", issue = "none")]
18 pub fn baz() -> usize {
19     30
20 }