about summary refs log tree commit diff
path: root/src/test/compile-fail/unique-unique-kind.rs
AgeCommit message (Collapse)AuthorLines
2016-04-05remove obsolete testsAriel Ben-Yehuda-21/+0
the meaning of these tests had changed completely over the years and now they are only a maintenance burden.
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-03-03Switched to Box::new in many places.Felix S. Klock II-3/+2
Many of the modifications putting in `Box::new` calls also include a pointer to Issue 22405, which tracks going back to `box <expr>` if possible in the future. (Still tried to use `Box<_>` where it sufficed; thus some tests still have `box_syntax` enabled, as they use a mix of `box` and `Box::new`.) Precursor for overloaded-`box` and placement-`in`; see Issue 22181.
2015-02-18Update suffixes en masse in tests using `perl -p -i -e`Niko Matsakis-1/+1
2015-01-31Kill more `isize`sTobias Bucher-1/+1
2015-01-16Don't use NoSend/NoSync in testsFlavio Percoco-1/+0
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-1/+1
2015-01-07Test fixes and rebase conflictsAlex Crichton-0/+1
2015-01-07markers -> markerNick Cameron-2/+2
2015-01-07Change `std::kinds` to `std::markers`; flatten `std::kinds::marker`Nick Cameron-2/+2
[breaking-change]
2014-12-26Keep track of the whole error chainFlavio Percoco-1/+3
2014-10-02tests: remove uses of Gc.Eduard Burtescu-2/+2
2014-09-15Update error messages in compile-fail testsNiko Matsakis-1/+1
2014-07-26Remove managed_box gate from testsBrian Anderson-1/+0
No longer does anything.
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-1/+1
floating point numbers for real. This will break code that looks like: let mut x = 0; while ... { x += 1; } println!("{}", x); Change that code to: let mut x = 0i; while ... { x += 1; } println!("{}", x); Closes #15201. [breaking-change]
2014-06-14rustc: Obsolete the `@` syntax entirelyAlex Crichton-1/+3
This removes all remnants of `@` pointers from rustc. Additionally, this removes the `GC` structure from the prelude as it seems odd exporting an experimental type in the prelude by default. Closes #14193 [breaking-change]
2014-05-06librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, exceptPatrick Walton-1/+1
for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
2014-03-28Convert most code to new inner attribute syntax.Brian Anderson-1/+1
Closes #2569
2013-12-12Gate literal box expressions in addition to typesAlex Crichton-0/+2
Closes #10920
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-2/+2
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-1/+1
2013-02-15tests/tutorials: Get rid of `move`.Luqman Aden-1/+1
2013-02-08Fix subtle error in caching during kind computation that could cause linearNiko Matsakis-1/+1
values to be copied. Rewrite kind computation so that instead of directly computing the kind it computes what kinds of values are present in the type, and then derive kinds based on that. I find this easier to think about. Fixes #4821.
2012-12-13Rename Send trait to OwnedBrian Anderson-2/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-10-12Make moves explicit in cfail testsTim Chevalier-1/+1
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-1/+1
2012-06-30change the test suite `//! kind` syntax to `//~ kind` in order to avoid aGareth Daniel Smith-1/+1
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
2012-05-24Const kind checking. The rules are almost certainly incomplete and unsound...Eric Holk-5/+3
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-1/+1
And remove support for the old syntax
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-3/+2
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-18Preparation for kind system overhaulMarijn Haverbeke-0/+1
This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177
2011-10-28Move to short kind kinds words in test suiteMarijn Haverbeke-1/+1
Issue #1076
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-1/+1
Closes #1067
2011-09-22Calculate the correct kind for unique boxesBrian Anderson-0/+9
Issue #409