about summary refs log tree commit diff
path: root/src/test/compile-fail/static-region-bound.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-22/+0
2017-08-16Stabilize rvalue promotion to 'static.Eduard-Mihai Burtescu-1/+3
2015-03-03Add `: Box<_>` or `::Box<_>` type annotations to various places.Felix S. Klock II-1/+1
This is the kind of change that one is expected to need to make to accommodate overloaded-`box`. ---- Note that this is not *all* of the changes necessary to accommodate Issue 22181. It is merely the subset of those cases where there was already a let-binding in place that made it easy to add the necesasry type ascription. (For unnamed intermediate `Box` values, one must go down a different route; `Box::new` is the option that maximizes portability, but has potential inefficiency depending on whether the call is inlined.) ---- There is one place worth note, `run-pass/coerce-match.rs`, where I used an ugly form of `Box<_>` type ascription where I would have preferred to use `Box::new` to accommodate overloaded-`box`. I deliberately did not use `Box::new` here, because that is already done in coerce-match-calls.rs. ---- Precursor for overloaded-`box` and placement-`in`; see Issue 22181.
2015-01-31Kill more `isize`sTobias Bucher-2/+2
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-2/+2
2015-01-07Test fixes and rebase conflictsAlex Crichton-0/+1
2014-10-02tests: remove uses of Gc.Eduard Burtescu-3/+1
2014-08-27Implement generalized object and type parameter bounds (Fixes #16462)Niko Matsakis-2/+2
2014-07-26Remove managed_box gate from testsBrian Anderson-1/+0
No longer does anything.
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-2/+2
floating point numbers for real. This will break code that looks like: let mut x = 0; while ... { x += 1; } println!("{}", x); Change that code to: let mut x = 0i; while ... { x += 1; } println!("{}", x); Closes #15201. [breaking-change]
2014-06-14rustc: Obsolete the `@` syntax entirelyAlex Crichton-1/+3
This removes all remnants of `@` pointers from rustc. Additionally, this removes the `GC` structure from the prelude as it seems odd exporting an experimental type in the prelude by default. Closes #14193 [breaking-change]
2014-03-28Convert most code to new inner attribute syntax.Brian Anderson-1/+1
Closes #2569
2014-02-07Added tests to make tidyDerek Guenther-0/+10
2013-12-12Gate literal box expressions in addition to typesAlex Crichton-0/+2
Closes #10920
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-03-21librustc: Replace the `&static` bound with `'static`Patrick Walton-1/+1
2013-01-10librustc: Implement `&static` as the replacement for `Durable`. r=nmatsakisPatrick Walton-0/+9