about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-11-09 03:51:41 +0000
committerbors <bors@rust-lang.org>2014-11-09 03:51:41 +0000
commita2f303ad098844351d08800038a4f99fa2ff0817 (patch)
tree8ab2d0ef6dc8abb598082f43f8496911bdc4c470 /src/rustllvm/RustWrapper.cpp
parent93c85eb8bdcc910a27caf6abd20207a626ae98e5 (diff)
parentcf4e53eee7377b42524176f39b0b428175c74fb1 (diff)
downloadrust-a2f303ad098844351d08800038a4f99fa2ff0817.tar.gz
rust-a2f303ad098844351d08800038a4f99fa2ff0817.zip
auto merge of #18743 : nikomatsakis/rust/hrtb-refactor-2, r=pcwalton
Various miscellaneous changes pushing towards HRTB support:

1. Update parser and adjust ast to support `for<'a,'b>` syntax, both in closures and trait bounds. Warn on the old syntax (not error, for stage0).
2. Refactor TyTrait representation to include a TraitRef.
3. Purge `once_fns` feature gate and `once` keyword.

r? @pcwalton 

This is a [breaking-change]:

- The `once_fns` feature is now officially deprecated. Rewrite using normal closures or unboxed closures.
- The new `for`-based syntax now issues warnings (but not yet errors):
  - `fn<'a>(T) -> U` becomes `for<'a> fn(T) -> U`
  - `<'a> |T| -> U` becomes `for<'a> |T| -> U`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions