summary refs log tree commit diff
path: root/src/test/compile-fail/mutable-enum-indirect.rs
AgeCommit message (Collapse)AuthorLines
2018-03-14Reword E0044 and message for `!Send` typesEsteban Küber-1/+2
- Reword E0044 help. - Change error message for types that don't implement `Send`
2016-04-05improve the printing of substs and trait-refsAriel Ben-Yehuda-1/+1
2016-04-05suggest adding a where-clause when that can helpAriel Ben-Yehuda-1/+1
suggest adding a where-clause when there is an unmet trait-bound that can be satisfied if some type can implement it.
2016-03-30Fix fallout in testsJeffrey Seyfried-1/+1
2015-01-16Don't use NoSend/NoSync in testsFlavio Percoco-3/+8
2015-01-07markers -> markerNick Cameron-4/+4
2015-01-07Change `std::kinds` to `std::markers`; flatten `std::kinds::marker`Nick Cameron-4/+4
[breaking-change]
2014-11-17Switch to purely namespaced enumsSteven Fackler-1/+1
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-09-15Update error messages in compile-fail testsNiko Matsakis-1/+1
2014-08-07Rename `Share` to `Sync`Alex Crichton-3/+3
This leaves the `Share` trait at `std::kinds` via a `#[deprecated]` `pub use` statement, but the `NoShare` struct is no longer part of `std::kinds::marker` due to #12660 (the build cannot bootstrap otherwise). All code referencing the `Share` trait should now reference the `Sync` trait, and all code referencing the `NoShare` type should now reference the `NoSync` type. The functionality and meaning of this trait have not changed, only the naming. Closes #16281 [breaking-change]
2014-03-22test: Remove Freeze / NoFreeze from testsFlavio Percoco-3/+3
2014-02-07Added tests to make tidyDerek Guenther-0/+10
2014-01-31Introduce marker types for indicating variance and for opting outNiko Matsakis-3/+4
of builtin bounds. Fixes #10834. Fixes #11385. cc #5922.
2013-11-05Refactor TypeContents to be more scrutable. In particular, create coarser bitsNiko Matsakis-0/+12
than the current ones, which were very fine-grained. Also, cleanly distinguish when properties must be found in *owned* types vs *reachable* types. Fixes #10157 Fixes #10278