about summary refs log tree commit diff
path: root/src/test/compile-fail/trait-test-2.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-24/+0
2017-07-18Support generic lifetime arguments in method callsVadim Petrochenkov-3/+2
2016-05-13rewrite obligation forest. cycles still handled incorrectly.Ariel Ben-Yehuda-2/+0
2016-01-16Detect cycles and specialize error reporting for Sized. It is importantNiko Matsakis-0/+2
to get the `Sized` error usable, since that hits new users frequently. Further work is needed for the error reporting for non-Sized cycle cases; those currently just fallback to the old path. Also adjust tests.
2015-12-18Make RFC 1214 warnings into errors, and rip out the "warn or err"Niko Matsakis-1/+0
associated machinery. Future such attempts should go through lints anyhow. There is a fair amount of fallout in the compile-fail tests, as WF checking now occurs earlier in the process.
2015-11-09librustc_typeck: give more information when supplied wrong number of ↵Kevin Butler-1/+2
type-params for methods
2015-10-02fix falloutAriel Ben-Yehuda-0/+1
looks like some mix of #18653 and `projection_must_outlive`, but that needs to be investigated further (crater run?)
2015-08-12Fallout in tests --- misc error message changes, WF fixesNiko Matsakis-2/+4
2015-02-23Remove awful hack concerning `Trait impl Trait` in method resolution code ↵Niko Matsakis-0/+1
that I've been longing to remove for quite some time.
2015-01-31Kill more `isize`sTobias Bucher-5/+5
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-3/+3
2015-01-08Update compile fail tests to use usize.Huon Wilson-1/+1
2015-01-08Update compile fail tests to use isize.Huon Wilson-3/+3
2015-01-07Test fixes and rebase conflictsAlex Crichton-0/+1
2014-10-30changes to testsNick Cameron-1/+1
2014-06-24librustc: Remove the fallback to `int` from typechecking.Niko Matsakis-1/+1
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-05-06librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, exceptPatrick Walton-1/+2
for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
2014-02-07Removed @self and @Trait.Eduard Burtescu-3/+1
2013-10-23register snapshotsDaniel Micay-0/+2
2013-03-13test: Fix tests. rs=testsPatrick Walton-3/+3
2013-03-13librustc: Remove implicit self from the language, except for old-style drop ↵Patrick Walton-3/+3
blocks.
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-1/+1
2013-02-28Remove legacy object creation mode, and convert remaining uses of itNiko Matsakis-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-2/+2
rs=implflipping
2013-01-30librustc: Change `self` as a type to `Self` everywhere. r=brsonPatrick Walton-1/+1
2013-01-30test: fix compile-fail tests somehow missed from local 'make check', ↵Graydon Hoare-2/+2
r=burningtree.
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-08-08Convert impls to new syntaxBrian Anderson-2/+2
2012-08-07Comments, minor refactoring, clean up wording of error messagesLindsey Kuper-1/+1
2012-08-02test: "iface" -> "trait" in filenames.Lindsey Kuper-0/+9