about summary refs log tree commit diff
path: root/src/test/compile-fail/destructure-trait-ref.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-55/+0
2018-06-23add `dyn` to display of dynamic (trait) type namesZack M. Davis-6/+6
The `dyn Trait` syntax was stabilized in 199ee327. Resolves #49277.
2017-04-11update various test cases that generate slightly different outputNiko Matsakis-1/+1
For the most part, it seems to be better, but one side-effect is that I cannot seem to reproduce E0102 anymore.
2017-01-30Merge ty::TyBox into ty::TyAdtVadim Petrochenkov-2/+1
2016-08-11Improve &-ptr printingJonathan Turner-2/+2
2016-05-02update test cases to reflect new messagesNiko Matsakis-12/+9
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-05-19Address review commetsAriel Ben-Yehuda-9/+9
I think I didn't run tests properly - my second call to select_all_obligations_or_error has made 3 tests fail. However, this is just an error message change - integer fallback never worked with casts.
2015-05-13eddyb's changes for DST coercionsNick Cameron-1/+1
+ lots of rebasing
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-02-11Opt into `box_patterns` feature gate in all tests that use them.Felix S. Klock II-0/+1
2015-01-31Kill more `isize`sTobias Bucher-9/+9
2015-01-12Fix testsuite errorsmdinger-3/+18
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-9/+9
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
2015-01-08compile-fail tests: Add feature attributes to enable box pat/expr syntax in ↵Felix S. Klock II-0/+2
various tests.
2014-10-24Update tests with the new error messagesJakub Bukaj-6/+6
2014-06-24librustc: Remove the fallback to `int` from typechecking.Niko Matsakis-9/+9
This breaks a fair amount of code. The typical patterns are: * `for _ in range(0, 10)`: change to `for _ in range(0u, 10)`; * `println!("{}", 3)`: change to `println!("{}", 3i)`; * `[1, 2, 3].len()`: change to `[1i, 2, 3].len()`. RFC #30. Closes #6023. [breaking-change]
2014-06-22Make destructuring trait reference workEdward Wang-0/+41
Closes #15031.