Coder Social home page Coder Social logo

Comments (9)

steveklabnik avatar steveklabnik commented on September 17, 2024 1

from edition-guide.

steveklabnik avatar steveklabnik commented on September 17, 2024

@Centril do you still plan on doing this this week? If not, it's going to miss the milestone.

from edition-guide.

Centril avatar Centril commented on September 17, 2024

@steveklabnik Yeah, I should; this feels important to do for RC1.

from edition-guide.

steveklabnik avatar steveklabnik commented on September 17, 2024

This has to land tonight, RC1 is shipping in the morning.

from edition-guide.

Centril avatar Centril commented on September 17, 2024

@steveklabnik I'll get to working on it today; was very much asleep when you wrote your comment =P

from edition-guide.

steveklabnik avatar steveklabnik commented on September 17, 2024

This did not land, de-milestoning.

from edition-guide.

sdht0 avatar sdht0 commented on September 17, 2024

Is it still scheduled? This page would be really helpful.

from edition-guide.

ehuss avatar ehuss commented on September 17, 2024

If I wrote a page for this, would you consider adding it? AFAIK, here is an exhaustive list of the stable 2018-specific changes:

  • dyn is now a full keyword.
  • async, await, try are now reserved keywords.
  • Added ? kleene operator to macros-by-example.
  • NLL
  • tyvar_behind_raw_pointer is now a hard error.
  • Overflowing literals are now rejected.
  • Anonymous trait function parameters are not allowed.
    • All irrefutable patterns are allowed with a body.
  • Paths:
    • Paths starting with :: can only reference crates.
    • use declarations can reference crates in the extern prelude.
    • use declarations cannot reference the crate root.
      • :: leading prefix required for name clashes (uniform_paths future-proofing).
    • Visibility paths must be absolute.

Additionally, I think it wouldn't hurt to include the 2018 idioms:

  • bare_trait_objects: dyn Trait is recommended over Trait
  • unused_extern_crates: extern crate should not be used
  • ellipsis_inclusive_range_patterns: ... ranges are deprecated, should use ..=
  • elided_lifetimes_in_paths: Lifetimes should not be elided in some cases.
  • explicit_outlives_requirements: Lifetime bounds should be elided in some cases.

from edition-guide.

Centril avatar Centril commented on September 17, 2024

@ehuss Yeah I was supposed to fix it but never got the time; if you can do it, that'd be great.

from edition-guide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.