Brian Anderson
7b73ec4698
Tie stability attributes to feature gates
2015-01-21 16:16:21 -08:00
Brian Anderson
1f46ae285d
Add allow(unstable) to tests that need it
2015-01-17 16:38:04 -08:00
Huon Wilson
441044f071
Update compile-fail tests to use is/us, not i/u.
2015-01-08 11:02:24 -05:00
Huon Wilson
85f961e2cc
Update compile fail tests to use usize.
2015-01-08 11:02:24 -05:00
Huon Wilson
0c70ce1424
Update compile fail tests to use isize.
2015-01-08 11:02:24 -05:00
Nick Cameron
9f07d055f7
markers -> marker
2015-01-07 12:10:31 +13:00
Nick Cameron
503709708c
Change std::kinds
to std::markers
; flatten std::kinds::marker
...
[breaking-change]
2015-01-07 09:45:28 +13:00
bors
d7a29d87ba
auto merge of #19031 : nodakai/rust/libcore-pow-and-sq, r=bjz
...
[breaking-change]
Deprecates `core::num::pow` in favor of `Int::pow`.
2014-11-18 13:41:38 +00:00
NODA, Kai
3fcf2840a4
libcore: add num::Int::pow() and deprecate num::pow().
...
Signed-off-by: NODA, Kai <nodakai@gmail.com>
2014-11-18 10:42:27 +08:00
Steven Fackler
3dcd215740
Switch to purely namespaced enums
...
This breaks code that referred to variant names in the same namespace as
their enum. Reexport the variants in the old location or alter code to
refer to the new locations:
```
pub enum Foo {
A,
B
}
fn main() {
let a = A;
}
```
=>
```
pub use self::Foo::{A, B};
pub enum Foo {
A,
B
}
fn main() {
let a = A;
}
```
or
```
pub enum Foo {
A,
B
}
fn main() {
let a = Foo::A;
}
```
[breaking-change]
2014-11-17 07:35:51 -08:00
Steven Fackler
579c65da1b
Un-feature gate struct variants
...
Struct variant field visibility is now inherited. Remove `pub` keywords
from declarations.
Closes #18641
[breaking-change]
2014-11-15 18:15:27 -08:00
Aaron Turon
e0ad0fcb95
Update code with new lint names
2014-10-28 08:54:21 -07:00
P1start
ead6c4b9d4
Add a lint for not using field pattern shorthands
...
Closes #17792 .
2014-10-24 15:44:18 +13:00
Jakub Wieczorek
3530e4a647
Use more descriptive names in dead code messages
2014-09-24 21:03:55 +02:00
Jakub Wieczorek
2ec795b4f0
Add detection of unused enum variants
2014-09-24 21:03:55 +02:00
Jakub Wieczorek
0271224bda
Add detection of dead struct fields
2014-06-08 13:30:04 +02:00