Niko Matsakis
    • Create new note
    • Create a note from template
      • 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
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me 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
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
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
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me 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
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- title: Triage meeting 2022-04-12 tags: triage-meeting --- # T-lang meeting agenda * Meeting date: 2022-04-12 ## Attendance * Team members: nikomatsakis, Josh, Felix, Scott * Others: Mark, Mara, Jane, jakob ## Meeting roles * Action item scribe: Mark * Note-taker: nikomatsakis ## Scheduled meetings - 2021-04-13: Implied bounds and perfect derive - 2021-04-20: Language design research overview - 2021-04-27: Backlog Bonanza ## Announcements or custom items (Meeting attendees, feel free to add items here!) ### Niko talked to a bunch of people at ETAPS - There are lots of Rust verifiers now (at least 14!) - Talking about what we could do to make their lives easier - Some possible lang extensions - "ghost code" - Would like to propose for experimentation - Other major topic: lifting coherence limitations and exploring portability - e.g., being able to say "we want to add some specification rules to libstd" - but I think same design could apply to portability across target platforms ### Coherence idea (Niko/Josh) Had some brainstorming around coherence. One idea that came out was that it would be ok to have "third-party" impls as long as they are all equivalent. One way this might commonly arise is because of derive -- everybody deriving same trait on same struct -- or if there is an incredibly obvious implementation (delegation). Felix: issues with debuginfo? joshtriplett: Span should only be an issue if the code failed to compile-- if somebody referenced `#file`-- Felix: debugger runs, you end up with code with a filename/line-number joshtriplett: Well, you'd unify and pick one. Doesn't seem like a big deal which one is selected. nikomatsakis: I think "odr-link-once" does that already today. scottmcm: What scares me here is that any new trait implementation becomes a breaking change, right? If I implement it in a way that doesn't match everyone else...? joshtriplett: Valid. nikomatsakis: Yes, we need to do a deep dive into all the possible issues. Lots of stuff here. scottmcm: Agreement on having a brainstorming / proposal meeting. nikomatsakis: I think we should sketch out the use cases we have in mind. ## Action item review * [Action items list](https://hackmd.io/gstfhtXYTHa3Jv-P_2RK7A) ## Pending lang team project proposals ### "Deprecate target_vendor " lang-team#102 **Link:** https://github.com/rust-lang/lang-team/issues/102 ### "Support platforms with size_t != uintptr_t" lang-team#125 **Link:** https://github.com/rust-lang/lang-team/issues/125 ### "Positional Associated Types" lang-team#126 **Link:** https://github.com/rust-lang/lang-team/issues/126 ### "Interoperability With C++ Destruction Order" lang-team#135 **Link:** https://github.com/rust-lang/lang-team/issues/135 ### "inner crates, aka multiple crates per file" lang-team#139 **Link:** https://github.com/rust-lang/lang-team/issues/139 ### "allow construction of non-exhaustive structs when using functional update syntax" lang-team#143 **Link:** https://github.com/rust-lang/lang-team/issues/143 nikomatsakis: I don't think metajack will drive this anymore, I propose we close this and say "we'd be happy to have this but needs a new owner". joshtriplett: Did see somebody asking about construction of non-exhaustive structs on Zulip, would be worth treating this as generally wanted? nikomatsakis: Maybe ping that person and ask if they want to drive it? joshtriplett: done nikomatsakis: [commented](https://github.com/rust-lang/lang-team/issues/143#issuecomment-1096992068) ### "Add #[deprecated_safe] attribute to allow functions be be marked unsafe in a backwards compatible fashion" lang-team#147 **Link:** https://github.com/rust-lang/lang-team/issues/147 Development on track. ### "Async fns in traits" lang-team#150 **Link:** https://github.com/rust-lang/lang-team/issues/150 action item: nikomatsakis to close in favor of at racking issue ## PRs on the lang-team repo ### "Fix dead links" lang-team#156 **Link:** https://github.com/rust-lang/lang-team/pull/156 Niko to merge. ### "add notes from 2022-03-30 meeting on lint policy. " lang-team#157 **Link:** https://github.com/rust-lang/lang-team/pull/157 Felix already merged ## RFCs waiting to be merged ### "Allow using `for<'a>` syntax when declaring closures" rfcs#3216 **Link:** https://github.com/rust-lang/rfcs/pull/3216 * Needs to be merged! This is annoying! * nikomatsakis will do it ## Proposed FCPs **Check your boxes!** ### "RFC: Add `target` configuration " rfcs#3239 **Link:** https://github.com/rust-lang/rfcs/pull/3239 joshtriplett: Proposed merge. Was original RFC #2991. Author did not have bandwidth and Guillaume-Gomez took it over and made the changes we asked for. Has now addressed all feedback that people had. Feel free to review or object. On thread, somebody said they were not sure about having the "whole target string" approach. I don't disagree but don't feel it's a problem, we already considered that in the original proposal. ### "Stabilize `let else`" rust#93628 **Link:** https://github.com/rust-lang/rust/pull/93628 joshtriplett: Is somebody going to help with this? pnkfelix: I'm not sure how, it is assigned to me to look into it. I'm not sure who else knows. nikomatsakis: Might know someone, will ping on Zulip. ### "Stabilize `let_chains` in Rust 1.62.0" rust#94927 **Link:** https://github.com/rust-lang/rust/pull/94927 Three concerns were raised, but last post says all were addressed. Let's do this! :shipit: ### "Stabilize `$$` and `${ignore}` in Rust 1.62.0" rust#95860 **Link:** https://github.com/rust-lang/rust/pull/95860 joshtriplett: Subset of macro-metavar-expr split out for separate stabilization * `$$` is equivalent to a `$` in a nested macro * `${ignore(i)}` used for `$()*` length matching *some discussion of the purpose of `ignore`* m-ou-se: Not obvious what happens at deeper levels, `$$$` or `$$$$`? pnkfelix: This style of escaping makes me sad, but I don't have a better suggestion. nikomatsakis: we've reinvented makefiles omg *appreciative chuckles* joshtriplett: I think either is fine and we should just document what is best m-ou-se: probably has to be exponential? scottmcm: I think that we discussed this in the RFC, didn't we? joshtriplett: I'll raise a concern for this, we should verify that it's explicitly documented already. ## Active FCPs ### "Tracking Issue for const offset_from (const_ptr_offset_from)" rust#92980 **Link:** https://github.com/rust-lang/rust/issues/92980 ### "Check if call return type is visibly uninhabited when building MIR" rust#93313 **Link:** https://github.com/rust-lang/rust/pull/93313 ### "Deprecate target_vendor " lang-team#102 **Link:** https://github.com/rust-lang/lang-team/issues/102 ### "Positional Associated Types" lang-team#126 **Link:** https://github.com/rust-lang/lang-team/issues/126 ### "Interoperability With C++ Destruction Order" lang-team#135 **Link:** https://github.com/rust-lang/lang-team/issues/135 ### "Add #[deprecated_safe] attribute to allow functions be be marked unsafe in a backwards compatible fashion" lang-team#147 **Link:** https://github.com/rust-lang/lang-team/issues/147 ### "Async fns in traits" lang-team#150 **Link:** https://github.com/rust-lang/lang-team/issues/150 ## P-critical issues None. ## Nominated RFCs, PRs and issues discussed this meeting ### "Enforce that layout size fits in isize in Layout" rust#95295 **Link:** https://github.com/rust-lang/rust/pull/95295 scottmcm: do we as lang think that this is the case? Has this always been a rule that we've not necessarily documented everywhere? nikomatsakis: it's been the rule for a long time, iirc thestinger had an issue about it, I think it is because LLVM has UB or wants to support negative offsets or something like that. Maybe it was this one https://github.com/rust-lang/rust/issues/18726 ? scottmcm: I'll put a comment that everybody in lang thinks that this is the case. joshtriplett: Standard caveat that "if we are breaking people we might have to reconsider" applies, but yeah. ### "[Experiment] Remove migrate borrowck mode" rust#95565 **Link:** https://github.com/rust-lang/rust/pull/95565 m-ou-se: There was a crater run with 179 crates that failed, but literally all of them were caught previously by the mutable borrow reservation conflict lint, except for 12 cases, where people had specifically disabled that warning. [Comment](https://github.com/rust-lang/rust/pull/95565#issuecomment-1095117178) m-ou-se: scoped threads is blocked on this nikomatsakis: do we know why? m-ou-se: I was going to ask you nikomatsakis: :eep: I can look into it testcase: https://github.com/rust-lang/rust/issues/93203#issuecomment-1084630290 pnkfelix: Is this the lint that was there to accommodate stacked borrows? nikomatsakis: That's correct. I'm somewhat in favor of reverted that lint and make stacked borrows deal with it. joshtriplett: Main reason we didn't do that is because it made Ralf sad, right? nikomatsakis: It may cause lost optimization potential, but I think it's worth it. joshtriplett: Did a quick look at the list of crates that have root regressions and most of them appear to be older versions of crates that have subsequently been replaced, in some cases, a long time ago? joshtriplett: Given that, I suspect that this warning had its intended effect and people have moved off of it. I don't think we need to block on making this decision. Moving to NLL would break these old versions of crates, but mostly not current ones? m-ou-se: Of those 12 that disabled the warnings, there is 1 that is sort of popular, ffsend. simulacrum: have we looked into the 160 that are getting warnings today? pnkfelix: is this using the future incompat infra so that people get warnings? m-ou-se: I ... think so? pnkfelix: Hard to tell just from the text. m-ou-se: checked. yes it is. nikomatsakis: WE CAN'T BREAK magic-school-bus-0.7.0!! (actually, that looks really cool --ed.) m-ou-se: is it expected that NLL accepts more cases? nikomatsakis: I believe so, in migrate mode we still have some errors. ### "Refined trait implementations" rfcs#3245 **Link:** https://github.com/rust-lang/rfcs/pull/3245 nikomatsakis: Follows the precedent we set for unsafe, that the impl can offer a more specific API than the trait, and if we can identify which impl is used we will take advantage of this. simulacrum: In the unsafe RFC, we had some concerns about accidentally doing this, is that something that's been discussed? nikomatsakis: The current RFC talks about a `#[refine]` attribute, but that was mainly targeting migration, I think it might be nice to have all the time (at least as a warning). joshtriplett: +1 for opting in. nikomatsakis: Is the sense of the meeting that we should make `#[refine]` required? That would also resolve the edition dependency, which is nice. I think I would say your impl *can* be more specific, but you're not committed to it unless you write `#[refine]`. We might want to warn though. joshtriplett: Warning would make it more discoverable, yes. Other than that requirement (and the potential stability requirement of doing it by accident, I've absolutely failed to match the trait ABI before), I think we should do this. nikomatsakis: Using the unsafe as an example, I could imagine being in a state of "I don't use unsafe now and I'd like to document that, but I still might want it in the future", which is otherwise unexpressible. nikomatsakis: cool, will leave a comment. ### "Simple postfix macros" rfcs#2442 **Link:** https://github.com/rust-lang/rfcs/pull/2442 joshtriplett: went through the comment thread and incorporated feedback, I feel it's "ready to go". Others should see what they think. ## Nominated RFCs, PRs and issues NOT discussed this meeting ### "Allow using `for<'a>` syntax when declaring closures" rfcs#3216 **Link:** https://github.com/rust-lang/rfcs/pull/3216 ### "Introduce `enhanced_binary_op` feature" rust#93049 **Link:** https://github.com/rust-lang/rust/pull/93049 ### "Check if call return type is visibly uninhabited when building MIR" rust#93313 **Link:** https://github.com/rust-lang/rust/pull/93313 ### "Allow `impl Fn() -> impl Trait` in return position" rust#93582 **Link:** https://github.com/rust-lang/rust/pull/93582 ### "make unaligned_references lint deny-by-default" rust#95372 **Link:** https://github.com/rust-lang/rust/pull/95372 ### "Fix unit struct/enum variant in destructuring assignment" rust#95380 **Link:** https://github.com/rust-lang/rust/pull/95380 ### "Neither require nor imply lifetime bounds on opaque type for well formedness" rust#95474 **Link:** https://github.com/rust-lang/rust/pull/95474 ### "Enforce Copy bounds for repeat elements while considering lifetimes" rust#95819 **Link:** https://github.com/rust-lang/rust/pull/95819 ### "Modify MIR building to drop repeat expressions with length zero" rust#95953 **Link:** https://github.com/rust-lang/rust/pull/95953 ### "Specify guarantees for repr(rust) structs" reference#1152 **Link:** https://github.com/rust-lang/reference/pull/1152 ### "Clarify guarantees provided by repr(packed)" reference#1163 **Link:** https://github.com/rust-lang/reference/pull/1163 ### "Add attribute to run specific tests in an isolated process" compiler-team#508 **Link:** https://github.com/rust-lang/compiler-team/issues/508

    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