about summary refs log tree commit diff
path: root/src/test/compile-fail/cross-borrow-trait.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-23/+0
2018-06-23add `dyn` to display of dynamic (trait) type namesZack M. Davis-2/+2
The `dyn Trait` syntax was stabilized in 199ee327. Resolves #49277.
2017-04-21Create a new method to run coercion inside probeGuillaume Gomez-3/+1
2017-04-21Update testsGuillaume Gomez-0/+2
2017-01-31Removes FIXMEs related to #22405Wesley Wiser-1/+0
2017-01-30Merge ty::TyBox into ty::TyAdtVadim Petrochenkov-2/+1
2016-08-11Improve &-ptr printingJonathan Turner-1/+1
2016-05-02update test cases to reflect new messagesNiko Matsakis-4/+3
2015-03-15Strip all leading/trailing newlinesTamir Duberstein-1/+0
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-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-12Fix testsuite errorsmdinger-1/+5
2015-01-07Test fixes and rebase conflictsAlex Crichton-0/+2
2014-09-03Remove cross-borrowing for traits.Nick Cameron-0/+22
Closes #15349 [breaking-change] Trait objects are no longer implicitly coerced from Box<T> to &T. You must make an explicit coercion using `&*`.