about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-4335.rs
AgeCommit message (Collapse)AuthorLines
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-27/+0
2017-01-31Removes FIXMEs related to #22405Wesley Wiser-1/+0
2016-11-28rustc: rework stability to be on-demand for type-directed lookup.Eduard Burtescu-0/+2
2016-08-05Update error format for E0373trixnz-1/+4
2016-07-31Don't gate methods `Fn(Mut,Once)::call(mut,once)` with feature ↵Vadim Petrochenkov-2/+0
`unboxed_closures` They are already gated with feature `fn_traits`
2015-04-10Improve error message where a closure escapes fn while trying to borrowNiko Matsakis-1/+1
from the current fn. Employ the new `span_suggestion` to show how you can use `move`.
2015-03-03Switched to Box::new in many places.Felix S. Klock II-2/+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-03-02Remove the synthetic "region bound" from closures and instead update howNiko Matsakis-1/+3
type-outlives works for closure types so that it ensures that all upvars outlive the region in question. This gives the same guarantees but without introducing artificial regions (and gives better error messages to boot).
2015-02-04remove all kind annotations from closuresJorge Aparicio-1/+1
2015-01-31Kill more `isize`sTobias Bucher-1/+1
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-1/+1
2015-01-07Test fixes and rebase conflictsAlex Crichton-0/+1
2015-01-05fix cfail testsJorge Aparicio-3/+5
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-04-08Register new snapshotsAlex Crichton-1/+1
2014-02-11test -- update tests with new error messagesNiko Matsakis-1/+1
2013-11-26librustc: Remove remaining uses of `&fn()` in favor of `||`.Patrick Walton-1/+3
2013-11-08Update various tests and libraries that were incorrectlyNiko Matsakis-1/+1
annotated.
2013-09-26Update the compiler to not use printf/printflnAlex Crichton-1/+1
2013-07-24Change 'print(fmt!(...))' to printf!/printfln! in src/test/Birunthan Mohanathas-1/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-1/+1
2013-03-28testsuite: Update and un-xfail test for #4335Tim Chevalier-3/+2
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-1/+1
notation. rs=delifetiming
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-01-19testsuite: Add xfailed test for #4335Tim Chevalier-0/+19