Comments (9)
from edition-guide.
@Centril do you still plan on doing this this week? If not, it's going to miss the milestone.
from edition-guide.
@steveklabnik Yeah, I should; this feels important to do for RC1.
from edition-guide.
This has to land tonight, RC1 is shipping in the morning.
from edition-guide.
@steveklabnik I'll get to working on it today; was very much asleep when you wrote your comment =P
from edition-guide.
This did not land, de-milestoning.
from edition-guide.
Is it still scheduled? This page would be really helpful.
from edition-guide.
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.
- Paths starting with
Additionally, I think it wouldn't hurt to include the 2018 idioms:
- bare_trait_objects:
dyn Trait
is recommended overTrait
- 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.
@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)
- should this now say "edition 2021" rather than "the next edition"? HOT 1
- Is `std::process::exit` really something that needs to be taught in the book?
- Rust 2021 documentation for: prelude changes
- Rust 2021 documentation for: Warnings promoted to errors
- Rust 2021 documentation for: Panic macro consistency HOT 1
- Rust 2021 documentation for: IntoIterator for arrays
- Rust 2021 documentation for: Default Cargo feature resolver
- Rust 2021 documentation for: Or patterns in macro-rules
- Rust 2021 documentation for: Disjoint capture in closures (RFC 2229) HOT 4
- Rust 2021 documentation for: Reserving prefix syntax HOT 1
- Create a consistent set of sections for Edition migrations HOT 2
- Update guide to reference Rust 2021 when giving examples of editions in general HOT 4
- Spelling mistake? HOT 1
- A bunch of useful information about Rust 2018 is gone... HOT 2
- Updates for when 2021 is stabilized
- When should I update to the latest edition? HOT 3
- "Creating a new project" uses `+nightly`
- doc: consider mentioning when rust 1.0 was released
- Ambiguity rules for `use` have changed in Rust 1.72 HOT 1
- Rust 2024 Edition missing from Edition Guide HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edition-guide.