about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-2590.rs
AgeCommit message (Collapse)AuthorLines
2018-07-15Move some `compile-fail` tests to `ui`Esteban Küber-26/+0
2015-01-08rollup merge of #20754: nikomatsakis/int-featureAlex Crichton-3/+3
Conflicts: src/test/compile-fail/borrowck-move-out-of-overloaded-auto-deref.rs src/test/compile-fail/issue-2590.rs src/test/compile-fail/lint-stability.rs src/test/compile-fail/slice-mut-2.rs src/test/compile-fail/std-uncopyable-atomics.rs
2015-01-08Update compile fail tests to use isize.Huon Wilson-3/+3
2015-01-08Update the "English-language" to-string function of a `cmt` to useNiko Matsakis-1/+1
more modern terminology and update tests accordingly.
2014-03-22Remove outdated and unnecessary std::vec_ng::Vec imports.Huon Wilson-1/+0
(And fix some tests.)
2014-03-21test: Make manual changes to deal with the fallout from removal ofPatrick Walton-0/+2
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-21test: Automatically remove all `~[T]` from tests.Patrick Walton-3/+3
2014-02-19adjust to currently used stylekud1ing-1/+1
2013-05-28Move checking for moves and initialization of local variables and patterns intoNiko Matsakis-1/+1
borrow checker and generalize what moves are allowed. Fixes a nasty bug or two in the pattern move checking code. Unifies dataflow code used for initialization and other things. First step towards once fns. Everybody wins. Fixes #4384. Fixes #4715. cc once fns (#2202), optimizing local moves (#5016).
2013-04-30new borrow checker (mass squash)Niko Matsakis-1/+1
2013-03-13test: Fix tests. rs=testsPatrick Walton-2/+2
2013-03-08test: Removing dvec usesAlex Crichton-4/+2
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-4/+4
imports
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-12-06test: Fix some compile-fail bustage. rs=bustagePatrick Walton-1/+1
2012-10-12remove ctor from ast (take 2) (no review: just dead code removal)Niko Matsakis-1/+1
2012-10-08Revert "remove ctor from ast"Tim Chevalier-1/+1
This reverts commit ed3689d57c988e1dd477930d957c4308c37d1a64.
2012-10-08remove ctor from astNiko Matsakis-1/+1
2012-09-12fixup mutability of vec::each, make iter_bytes pureNiko Matsakis-2/+2
also, change DVec() to work with imm vectors rather than mut ones
2012-09-05test: "import" -> "use"Patrick Walton-1/+1
2012-08-15Convert more core types to camel caseBrian Anderson-2/+2
2012-08-13test: Make issue-2590 conform to the spirit of the test betterPatrick Walton-3/+1
2012-08-13test: Make issue-2590 test for implicit copies instead of moves.Patrick Walton-1/+3
With the removal of modes, function arguments can't demand that their arguments be moved anymore.
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-1/+5
2012-07-14Tear out ty_str and ty_vec.Michael Sullivan-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-06-21Make liveness print out a proper error message for moves out of a self fieldTim Chevalier-0/+13
This was a call to span_bug() before. I'm not sure about the other cases, but the test case shows that the `vk_self` case can certainly arise with a bad program, so it should be a span_err() thing and not a span_bug() thing. Closes #2590