Ariel Ben-Yehuda
b23648fe4a
improve the printing of substs and trait-refs
2016-04-05 22:56:23 +03:00
Ariel Ben-Yehuda
8a461d940c
suggest adding a where-clause when that can help
...
suggest adding a where-clause when there is an unmet trait-bound that
can be satisfied if some type can implement it.
2016-04-05 20:58:58 +03:00
Jeffrey Seyfried
da41e583d6
Fix fallout in tests
2016-03-30 22:00:48 +00:00
Flavio Percoco
921ba5a09f
Don't use NoSend/NoSync in tests
2015-01-16 08:18:56 +01: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
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
Niko Matsakis
b88f86782e
Update error messages in compile-fail tests
2014-09-15 14:58:49 -04:00
Derek Guenther
730bdb6403
Added tests to make tidy
2014-02-07 12:49:24 -06:00
Niko Matsakis
81d8328517
Introduce marker types for indicating variance and for opting out
...
of builtin bounds.
Fixes #10834 .
Fixes #11385 .
cc #5922 .
2014-01-31 21:18:48 -05:00
Daniel Micay
e192b6d7c5
correct names for #[no_send]/#[no_freeze] tests
2013-10-11 12:21:19 -04:00