about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-5035.rs
AgeCommit message (Collapse)AuthorLines
2016-12-26Move some compile-fail tests into UI directoryVadim Petrochenkov-21/+0
2016-11-08Point to type argument span when used as traitEsteban Küber-1/+1
Given the following code: ```rust struct Foo<T: Clone>(T); use std::ops::Add; impl<T: Clone, Add> Add for Foo<T> { type Output = usize; fn add(self, rhs: Self) -> Self::Output { unimplemented!(); } } ``` present the following output: ```nocode error[E0404]: `Add` is not a trait --> file3.rs:5:21 | 5 | impl<T: Clone, Add> Add for Okok<T> { | --- ^^^ expected trait, found type parameter | | | type parameter defined here ```
2016-08-22 Updated E0432 to new formatKnight-1/+2
2016-08-05Update E0391 to new format.Ryan Scott-0/+1
2016-07-31Make "type aliases cannot be used for traits" a note instead of a span_label.Jeffrey Seyfried-2/+1
2016-07-31Avoid emitting a unhelpful cascading resolution error.Jeffrey Seyfried-0/+4
2016-05-12Update errors to use new error formatJonathan Turner-2/+3
2016-03-02Fix test to reflect new notevegai-1/+1
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
2014-06-23rustc: catch `impl X for Y` where X is not a trait in resolve.Kevin Butler-1/+2
2014-02-25test: Clean out the test suite a bitAlex Crichton-4/+2
This updates a number of ignore-test tests, and removes a few completely outdated tests due to the feature being tested no longer being supported. This brings a number of bench/shootout tests up to date so they're compiling again. I make no claims to the performance of these benchmarks, it's just nice to not have bitrotted code. Closes #2604 Closes #9407
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-2/+3
2013-03-27testsuite: Add various test casesTim Chevalier-0/+15
Some are xfailed, some not, some existing ones get un-xfailed.