rust/src/doc
bors 4141a4079e 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
2018-09-25 20:02:14 +00:00
..
book@fa91738b66 Update The Book to latest 2018-09-18 16:52:47 -04:00
man Remove references to AUTHORS.txt file 2018-07-30 07:47:12 +02:00
nomicon@7fd493465b update books for next release 2018-09-07 15:30:35 -04:00
reference@821355a6fd update books for next release 2018-09-07 15:30:35 -04:00
rust-by-example@e459fb3f07 update books for next release 2018-09-07 15:30:35 -04:00
rustc docs: Use dollar sign for all bash prompts 2018-09-08 21:22:00 -07:00
rustdoc Add documentation about the edition flag 2018-09-20 08:36:07 +02:00
unstable-book Auto merge of #53542 - alexreg:impl-trait-in-bindings, r=cramertj 2018-09-25 20:02:14 +00:00
complement-design-faq.md
complement-lang-faq.md
complement-project-faq.md
favicon.inc
footer.inc
full-toc.inc
grammar.md Rollup merge of #50791 - bstrie:null, r=QuietMisdreavus 2018-05-17 13:51:25 -06:00
guide-crates.md
guide-error-handling.md
guide-ffi.md
guide-macros.md
guide-ownership.md
guide-plugins.md Add top level sections to the Unstable Book. 2017-04-18 21:26:09 -04:00
guide-pointers.md
guide-strings.md
guide-tasks.md
guide-testing.md
guide-unsafe.md
guide.md
index.md Add a small search box to seach Rust's standary library 2018-09-14 23:28:32 -07:00
intro.md
not_found.md fix markdown file differences 2017-12-07 23:56:21 +01:00
reference.md
rust.css Fix error index display 2018-01-09 22:26:26 +01:00
rust.md Avoid linking to a moved page in rust.html 2017-03-29 15:38:47 +02:00
rustc-ux-guidelines.md Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
rustdoc.md
tutorial.md Update tutorial.md 2018-05-17 12:25:24 -07:00
version_info.html.template