Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Rust Edition 2021
This document will be turned into tracking issues and an RFC for more structure at some point. For now, we'll try to collect everything here. Please also add ideas that are not very concrete yet, just so we don't miss anything.
Discussion: #edition
on Zulip
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Milestone planning
December 2020:
January 2021:
February 2021:
March 2021:
April 2021:
May 2021:
June 2021:
July 2021:
August 2021:
September 2021:
October 2021:
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Edition Changes
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Unify std::panic
and core::panic
Team(s) |
Status |
RFC |
Tracking issue |
Who |
libs , lang |
RFC accepted |
RFC 3007 |
#80162 |
Mara |
This makes panic!()
consistent with print!()
:
panic!("{}")
becomes an error, and panic!("{x}")
will format x
once implicit formatting arguments are stabilized.
To do:
- Implement things. See tracking issue.
Team(s) |
Status |
RFC |
Tracking issue |
Who |
compiler |
- |
- |
#80165 |
Ryan Levick |
To do:
- Decide on final list of promotions
- Implementation
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Forbid bare_trait_objects
Team(s) |
Status |
RFC |
Tracking issue |
Who |
lang |
Not yet decided |
None (yet?) |
lang-team#65 |
t-lang |
To do:
- Make decision
- Implementation
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Change Cargo's feature resolver to resolver = "2"
by default for edition 2021
Team(s) |
Status |
RFC |
Tracking issue |
Who |
cargo |
Accepted |
- |
cargo#9048 |
? |
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Edition specific or-patterns
Team(s) |
Status |
RFC |
Tracking issue |
Who |
lang |
Team consensus |
RFC 2535 |
#54883 |
mark-i-m |
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Disjoint captures in closures
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Fix cargo fix --edition
for edition 2021
Team(s) |
Status |
RFC |
Tracking issue |
Who |
cargo |
Implemented |
N/A |
cargo#9047 |
? |
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Prelude changes
Team(s) |
Status |
RFC |
Tracking issue |
Who |
libs , lang |
Incomplete idea |
RFC 3090 |
#65512 |
t-libs? |
- Add
TryFrom
/ TryInto
- Add other things?
- Needs a compatibility warning (See Zulip)
- Prioritization of glob import method resolution the same as item resolution (language change)
- Doesn't need to be edition-specific:
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Add std::iter
? (#80216)
- Might not need to be edition-specific:
(but have potential breakage from trait method conflicts, so would probably need at least a crater run)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Add ops::Not
? (thread on Internals)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Add Debug
and Display
(#80360 and Zulip discussion)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Add Hash
(#80361 and Zulip discussion)
To do:
- Complete the list of changes (see tracking issue)
- Implement glob and prelude import changes in compiler? Compatibility warning? (RFC/MCP first?)
- Implement new prelude
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Removing #[macro_export]
Team(s) |
Status |
RFC |
Tracking issue |
Who |
lang |
Not yet decided |
- |
None yet |
petrochenkov? |
To do:
- Support
pub
on macro_rules!
: #78166
- Remove
#[macro_export]
- Could also be just a deprecation warning.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
IntoIterator
for [T; N]
Team(s) |
Status |
RFC |
Tracking issue |
Who |
libs |
Incomplete idea |
None (yet?) |
None yet |
Mara |
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Replace #[rustc_args_required_const(..)]
with const generics
Team(s) |
Status |
RFC |
Tracking issue |
Who |
libs , lang |
Incomplete idea |
None (yet?) |
None yet |
Amanieu |
- Context: this comment, and also the rest of that issue.
- Could also be a warning on all editions. (So, not deny on 2021.)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Reserve new keywords
Team(s) |
Status |
RFC |
Tracking issue |
Who |
lang |
Incomplete idea |
None |
None |
t-lang? |
To do:
- List keywords to reserve
- Implement it
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
New/fixed range types (make a..b
Copy)
Team(s) |
Status |
RFC |
Tracking issue |
Who |
libs , lang |
Incomplete idea |
None |
None |
t-libs? sfackler? |
To do:
- Investigate alternative solutions, see rfcs#2848
- Decide on the best solution
- Implement it
Team(s) |
Status |
RFC |
Tracking issue |
Who |
rustdoc |
waiting on FCP (see Zulip thread) |
- |
- |
Joshua Nelson |
To do:
- Add
rustdoc::
lints and suggest changing builtin rustdoc lints to use rustdoc::
prefix (#80527)
- Add a deny-by-default lint to rename the old lints
- Cohesive lints suggests all tools should be namespacing lints, is this true?
Does this actually need to be deny by default? Warn-by-default seems good enough; it wouldn't allow simplifying code since the compiler has to support all editions.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Run doctests in a single binary?
Team(s) |
Status |
RFC |
Tracking issue |
Who |
rustdoc |
Incomplete idea |
- |
#75341 |
- |
It's unclear whether we should do this. Preferably we could find a smaller hammer to throw at this that still gives performance gains.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Separate compile-time from run-time working directory for doctests?
Team(s) |
Status |
RFC |
Tracking issue |
Who |
rustdoc |
Incomplete idea |
- |
#8993 |
- |
Similar to doctests in a single binary, I would prefer to find a smaller hammer that doesn't require breaking changes.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Change Rustdoc's URL structure?
This change might be too big even for an edition. It also needs better planning of what the end result is - if we're changing URLs anyway, it probably makes sense to solve the case-insensitive files issue at the same time.
Notes
..
Links