]>
git.proxmox.com Git - rustc.git/blob - src/test/auxiliary/inherited_stability.rs
77eb82f80228649965299a2e1be76ffe26a84a03
1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10 #![crate_name="inherited_stability"]
11 #![crate_type = "lib"]
12 #![unstable(feature = "test_feature")]
13 #![feature(staged_api)]
18 #[stable(feature = "rust1", since = "1.0.0")]
21 #[stable(feature = "rust1", since = "1.0.0")]
25 #[stable(feature = "rust1", since = "1.0.0")]
29 #[unstable(feature = "test_feature")]
30 pub mod unstable_mod
{
31 #[stable(feature = "test_feature", since = "1.0.0")]
32 #[deprecated(since = "1.0.0")]
33 pub fn deprecated() {}
38 #[stable(feature = "rust1", since = "1.0.0")]
42 #[stable(feature = "rust1", since = "1.0.0")]
46 impl Stable
for uint
{
53 #[stable(feature = "rust1", since = "1.0.0")]