diff options
| author | bors <bors@rust-lang.org> | 2018-09-25 20:02:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-09-25 20:02:14 +0000 |
| commit | 4141a4079e3e6b2c4ac104fed042a9b7241467eb (patch) | |
| tree | fac6b20ad1dc438736aa960ea174dbaa3883d075 /src/liballoc_system | |
| parent | 31789a658bb6b6c78da1f2b99a5f169e4e8b983b (diff) | |
| parent | 16cf404f9853e716a216be32d05f5215ff821c00 (diff) | |
| download | rust-4141a4079e3e6b2c4ac104fed042a9b7241467eb.tar.gz rust-4141a4079e3e6b2c4ac104fed042a9b7241467eb.zip | |
Auto merge of #53542 - alexreg:impl-trait-in-bindings, r=cramertj
`impl trait` in bindings (feature: impl-trait-existential-types) This PR enables `impl Trait` syntax (opaque types) to be used in bindings, e.g. * `let foo: impl Clone = 1;` * `static foo: impl Clone = 2;` * `const foo: impl Clone = 3;` This is part of [RFC 2071](https://github.com/rust-lang/rfcs/blob/master/text/2071-impl-trait-existential-types.md) ([tracking issue](https://github.com/rust-lang/rust/issues/34511)), but exists behind the separate feature gate `impl_trait_in_bindings`. CC @cramertj @oli-obk @eddyb @Centril @varkor
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
