Rust Lang Team
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- title: "Design meeting 2023-11-15: 2024 Edition Review" date: 2023-11-15 tags: T-lang, design-meeting, minutes discussion: https://rust-lang.zulipchat.com/#narrow/stream/410673-t-lang.2Fmeetings/topic/Design.20meeting.202023-11-15 url: https://hackmd.io/KF7t6VlCTHKCO0y7EY7Rrw --- # 2024 Edition Review We need to discuss the list of candidate changes for the 2024 edition, and categorize them according to whether we expect to ship them and whether they have an owner. ## Background reading I made a Github project * [Lang Edition 2024 project](https://github.com/orgs/rust-lang/projects/43/views/2) listing all the issues from this doc, as well as the labels that were originally used as sources for it: * [2023-06-28: Rust 2024 Survey](https://hackmd.io/itGzgM1fQl-oh4d1iP8sFg) ## Meeting outline https://github.com/orgs/rust-lang/projects/43/views/2 Time limit per issue: 5 minutes (can come back at the end of the meeting) * Workflow meetings going forward: Edition-nominated section at the beginning * Go through accepted * Go through nominated rejected * Go through "ask" * Do we want to "tell a story"? * Priorities and risks * Mainly, most of these need a champion on the impl side # Minutes People: TC, tmandry, JT, scottmcm, waffle, Urgau, nikomatsakis Minutes: TC ## Temporary lifetimes nikomatsakis: I've been working with Mara + Xiang Ding Fei on a proposal for revised temporary lifetime rules. This will be a Rust 2024 breaking change in that the behavior of some constructs, like `match foo().lock() {...}` would change. NM: Some set of temporary lifetimes would become shorter, especially around match statements. That's the edition part. It definitely needs an RFC. ## Non-terminals, e.g. expr, have diverged between parser and macro matcher - #86730 https://github.com/rust-lang/rust/issues/86730 JT: ...we have precedence here. NM: It'd be good to have a name that's useful rather than using the year. JT: Agreed, not making a propsal on the name. NM: It'd be good to write up something in the lang-team repo about a policy or a habit here, that we try to update this on editions. JT: Does it need an RFC? JT: Proposal: We should write a general policy that we update the macro matchers in the new edition, and we use this particular naming system. After we FCP that policy, then someone needs to write a policy for expr. tmandry: +1, but it needs someone to write the RFC. TC: I'll have a look. Lokathor may also have interest. *Consensus*: We'll write a policy RFC here, then consider this specific case in that context. ## Reserve `gen` keyword in 2024 edition for Iterator generators - #3513 TC: It's on my plate to update this RFC, but the key edition question is reserving the keyword. JT: ... NM: Maybe we should say, yes we want it, and then deal with the bikeshed in triage later. all: +1. *Consensus*: Let's move to accept. ## `Box<[T]>` should have an IntoIter implementation. - #59878 *Consensus*: No objection. We should do this. ## Clean up items accidentally stabilized through unstable paths - #113387 tmandry: The main question is whether this is a lang concern, particularly some of the items. JT: Probably not. *Consensus*: We'll mark this as not-lang. ## make pub type foo = bar and pub use bar as foo interchangable in next edition - #73191 *Consensus*: We might accept if an RFC happened. We've left a note. ## Extern types v2 - #3396 tmandry: There's not a consensus proposal for any edition change, and we can accept it without an edition change. JT: +1. *Consensus*: This doesn't need an edition. ## Tracking Issue for `#[deprecated_safe]` attribute - #94978 JT: Libs would really like this from lang. But the other question is, why does this need an edition? JT: Whether we do this is a lang concern, and it lets others tie things to editions, but it's not tied to an edition on the lang side. all: +1. *Consensus*: This doesn't need an edition. ## Shorten drop scope of temporaries in conditions - #111725 NM: Is is probbaly overlapping with the other work. This might unblock some other feature... but that may be something else. tmandry: We can probably roll this into the other one. NM: That's fine. *Consensus*: We probably don't need to consider this separately. ## Tracking issue for deprecation lint proc_macro_derive_resolution_fallback - #83583 tmandry: We've had a design meeting proposal on the books for most of this year but haven't had the design meeting. pnkfelix explains why this is hard here: https://github.com/rust-lang/rust/issues/83583#issuecomment-1397867288 *Consensus*: This one needs a proposal. ## Meta: How do we get through the rest? TC: We should think about how much time we have remaining before all this work needs to be finished and whether we can get through it with the number of weeks and number of meetings remaining. *Consensus*: To get through the rest, let's nominate this issue for discussion at the next available design meeting. We'll also go through some of these issues in each triage meeting. And perhaps we can complete the scheduling of the design meetings for next month during triage this month to free up one design meeting slot. (The meeting ended here.)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully