about summary refs log tree commit diff
path: root/src/test/compile-fail/regions-close-param-into-object.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-37/+0
2017-01-31Removes FIXMEs related to #22405Wesley Wiser-2/+0
2015-03-15Strip all leading/trailing newlinesTamir Duberstein-1/+0
2015-03-03Switched to Box::new in many places.Felix S. Klock II-5/+5
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-18Round 3 test fixes and conflictsAlex Crichton-1/+1
2015-02-18Fallout: tests. As tests frequently elide things, lots of changesNiko Matsakis-1/+1
here. Some of this may have been poorly rebased, though I tried to be careful and preserve the spirit of the test.
2015-01-07Test fixes and rebase conflictsAlex Crichton-0/+1
2015-01-05Treat associated types the same as type parameters when it comes to region ↵Niko Matsakis-0/+39
bounding. Fixes #20303. Strictly speaking, this is a [breaking-change] (if you are using associated types). You are no longer free to wantonly violate the type system rules by closing associated types into objects without any form of region bound. Instead you should add region bounds like `T::X : 'a`, just as you would with a normal type parameter.