reference icon indicating copy to clipboard operation
reference copied to clipboard

Editions (RFC 2052)

Open matthewjasper opened this issue 7 years ago • 3 comments

Raising this now so that we can decide what the plan is here.

  • [ ] Document editions
  • [ ] Make sure that all examples are using Rust 2018 compatible code (paths are the main concern).
    • How do editions interact with mdbook test?
  • [ ] Documenting Rust 2015 differences (assuming that the reference moves to Rust 2018 by default)
    • Should these be inline, or in an appendix.

matthewjasper avatar Mar 26 '18 12:03 matthewjasper

I imagine we should have some kid of box, "this is specific to 2018 edition" or whatever. I'm guessing inline. I'm open to other opinions!

How do editions interact with mdbook test?

This is a very good question.

steveklabnik avatar Mar 26 '18 12:03 steveklabnik

How do editions interact with mdbook test?

@QuietMisdreavus just told me that they're planning on making rustdoc work with editions via some sort of annotation, so we could use that 👍

steveklabnik avatar Mar 28 '18 08:03 steveklabnik

Note: An initial stab at this was done in #393.

ehuss avatar Jul 16 '23 18:07 ehuss