Brian Anderson
df290f127e
Require feature attributes, and add them where necessary
2015-03-23 14:40:26 -07:00
Tamir Duberstein
d51047ded0
Strip all leading/trailing newlines
2015-03-15 09:08:21 -07:00
Felix S. Klock II
0d5bcb14ad
Switched to Box::new in many places.
...
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-03 21:05:55 +01:00
Jorge Aparicio
571cc7f8e9
remove all kind annotations from closures
2015-02-04 20:06:08 -05:00
Tobias Bucher
7f64fe4e27
Remove all i
suffixes
2015-01-30 04:38:54 +01:00
Felix S. Klock II
a7a2dd96ec
fallout: run-pass tests that use box. (many could be ported to Box::new
instead in the future.)
2015-01-08 02:31:37 +01:00
Jorge Aparicio
ec11f66dbf
replace f.call_mut(a, b, ..)
with f(a, b, ..)
2015-01-05 17:22:18 -05:00
Niko Matsakis
698db04a8d
Purge the hack that allows FnOnce
to be used with a by-value self method. Besides being yucky, it will cause problems if we try to make all traits implement themselves, which would make a lot of things in life easier. Also, it was inextricably linked to Box
, which was not the intention. We can work around its absence, so better to reimplement it later in a more thorough fashion.
2014-12-14 04:21:56 -05:00
Niko Matsakis
058abcc209
Place parenthetical notation under the unboxed_closure
feature-gate.
...
Consolidate the `unboxed_closure_sugar` and `unboxed_closure` feature gates.
2014-11-18 12:26:04 -05:00
Niko Matsakis
221edbae38
Support parenthesized paths Foo(A,B) -> C
that expand to Foo<(A,B),C>
. These paths also bind anonymous regions (or will, once HRTB is fully working).
...
Fixes #18423 .
2014-11-06 06:48:23 -05:00
Patrick Walton
e0a165ca13
libstd: Add Fn
/FnMut
/FnOnce
to the prelude.
...
Closes #16600 .
2014-08-19 13:57:10 -07:00