Rust Types 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: 2023-11-06 Planning meeting tags: weekly-meeting, T-types date: 2023-11-06 discussion: https://rust-lang.zulipchat.com/#narrow/stream/326132-t-types.2Fmeetings/topic/2023-11-06.20planning.20meeting url: https://hackmd.io/gw4UQcN8Rm-MGqFFF0M6jA --- # T-types planning meeting agenda ## Updates ### [Tracking issue for shared type library](https://github.com/rust-lang/types-team/issues/16) @compiler-errors has started to pick this up again, currently a few in progress PRs here. We're working towards using the new solver in r-a, still unclear how long this will take. ### [Tracking issue for chalk](https://github.com/rust-lang/types-team/issues/25) Should probably close this :) ### [Tracking issue for RPITIT refactoring](https://github.com/rust-lang/types-team/issues/65) @spastorino is this still happening? ... @spastorino: nope this is finished since a while :). ### [Tracking issue for AFIT and RPITIT](https://github.com/rust-lang/types-team/issues/66) nikomatsakis: Stable on nightly! As far as I know. TC: It's scheduled to go out in v1.75 alongside [#116733](https://github.com/rust-lang/rust/pull/116733). ### [Tracking issue for TAITs](https://github.com/rust-lang/types-team/issues/67) nikomatsakis: Scheduled a [lang-team proposal this Wed, Nov 8](https://github.com/rust-lang/lang-team/issues/233). TC: We're polishing the document for this. ### [Tracking issue for GATs](https://github.com/rust-lang/types-team/issues/68) Jack has been digging in https://github.com/rust-lang/rust/issues/112764 and has concluded we should automatically coerce `Option<&'?0 mut (dyn Trait + '?0)` to `Option<&'?1 mut (dyn Trait + '?2>`, which is a subset of what we do for unsizing coercion (which would occur without the `Option`) ### [Tracking issue for a-mir-formality](https://github.com/rust-lang/types-team/issues/69) nikomatsakis: I did some work on coherence and fuzzing but got quite distracted factoring out formality-core to be re-usable for other languages. Still have a few pending changes but things are much nicer now. You can for example write things like `impl Foo for Bar` instead of `impl<> Foo<> for Bar<> where []`. You can read some docs [on the new mdbook page](https://rust-lang.github.io/a-mir-formality/) -- this is still a WIP, I'm adding in some of the docs from our meetup and adapting them, and trying to write-up a `formality-eg` example that will show how things work for a simpler case. ~~**Need help:** I am still trying to figure out how to get the mdbook rendered to github pages! I think I need to pester somebody. Or perhaps check my GH notifications, which I've not done, and which may have information. =) I opened https://github.com/rust-lang/infra-team/issues/87. Oh, hey look, simulacrum fixed it! Yay.~~ ### [Tracking issue for subtyping refactor](https://github.com/rust-lang/types-team/issues/70) TODO(@lcnr): should we close this ### [Tracking issue for implied bounds refactor](https://github.com/rust-lang/types-team/issues/71) TODO(@lcnr): should we close this, tracked further down again ### [Tracking issue for trait object upcasting](https://github.com/rust-lang/types-team/issues/72) @compiler-errors started to handle the type system formalization here, getting closer to stabilization ### [Tracking issue for negative impls](https://github.com/rust-lang/types-team/issues/73) We were meeting regularly Niko, Lcnr and spastorino but we put this project on-hold due to lack of time. I (@spastorino) would be happy to resume at some point if Niko/Lcnr have also time for this. ### [Tracking issue for polonius](https://github.com/rust-lang/types-team/issues/74) nikomatsakis: Amanda Stjerna is joining the discussions with me + lqd. Some work has landed. One thing we discussed was how to incorporate higher-ranked constraints. There is currently a piece of code that walks over the region constraints to construct the strongly connected components. I believe that can be adapted to also insert explicit `T: 'static` bounds equivalent to today's leak check and other processing, which would mean that other parts of the code don't have to think about universes at all. We are hoping Amanda can implement that as a "getting start" project. I promised a write-up to Amanda this week. Our other goal is to get a nightly version of polonius that works (but is inefficient) this year. We talked it out a bit and it "seems doable" at a high-level I promised a blog post with some thoughts. Uh oh! Better get writing. ### [Tracking issue for rust trait solver refactor](https://github.com/rust-lang/types-team/issues/76) work continues, dealing with aliases is horrible, currently experimenting with a different approach to `alias-relate`. The approach shows promise, however there are some fun(damental) issues which require some a-mir-formality cooperation. ### [Model coherence in formality](https://github.com/rust-lang/types-team/issues/103) nikomatsakis: I landed a rewrite that brings formality closer to how compiler works and we reviewed in our last sync meeting. Next steps here are to sync up with student who is interested and also create various starter issues. I got distracted by parser improvements described above. Perhaps this week? ### [Normalize in orphan check](https://github.com/rust-lang/types-team/issues/104) ### [New solver in coherence](https://github.com/rust-lang/types-team/issues/105) ^ see above ### ["Semantic outlives" for opaque aliases](https://github.com/rust-lang/types-team/issues/106) nikomatsakis: Eep! I had forgotten about this. ### [Minimal version of TAITs](https://github.com/rust-lang/types-team/issues/107) I believe this has overlap with general TAITs above? ### [Prototype of Polonius](https://github.com/rust-lang/types-team/issues/108) nikomatsakis: See above? ### [Dyn upcasting](https://github.com/rust-lang/types-team/issues/109) ^ duplicate ### [RPIT capture all lifetimes](https://github.com/rust-lang/types-team/issues/110) TC: We've merged [RFC 3498](https://github.com/rust-lang/rfcs/pull/3498) and opened a [tracking issue](https://github.com/rust-lang/rust/issues/117587). CE has an [implementation](https://github.com/rust-lang/rust/pull/116952). nikomatsakis: :tada: Does the new implementation show any kind of concerns? TC/CE: The RFC specifies that RPITs will capture late-bound lifetime parameters in binders. This doesn't work yet. Previously these opaque types did not capture these parameters in `for<..>` binders. alliemjay suggests that we resolve:` https://github.com/rust-lang/rust/issues/100503 ### [Enforce where-clauses on type aliases via alias type](https://github.com/rust-lang/types-team/issues/111) nikomatsakis: We scheduled a lang-team meeting related to this, I am on the hook to prepare an RFC for reading. ### [Use the new trait solver in all the places](https://github.com/rust-lang/types-team/issues/112) ### [Support negative impls in coherence](https://github.com/rust-lang/types-team/issues/113) ### [Location-sensitive polonius](https://github.com/rust-lang/types-team/issues/114) ### [UnlimiTAIT](https://github.com/rust-lang/types-team/issues/115) TC: We need to stabilize Mini-TAIT first, then the new solver. ### [Coinduction](https://github.com/rust-lang/types-team/issues/116) blocked on new solver ### [Instantiate implied bounds explicitly](https://github.com/rust-lang/types-team/issues/117) blocked on coinduction ### [Perfect derive](https://github.com/rust-lang/types-team/issues/118) blocked on coinduction ### [Specialization](https://github.com/rust-lang/types-team/issues/119) blocked on the heat death of the universe ### [Avoid inference guessing in trait solver (e.g., favoring where-clauses over impls)](https://github.com/rust-lang/types-team/issues/120) ### [Avoid bounding impl trait return type by all input type parameters using existential lifetimes](https://github.com/rust-lang/types-team/issues/121) ### [Implied bounds on higher-ranked binders](https://github.com/rust-lang/types-team/issues/122) new solver? ### [Full triage of all soundness issues](https://github.com/rust-lang/types-team/issues/123) ## Nominated issues ### [Boxed recursive function should not require trait object](https://github.com/rust-lang/rust/issues/73625) Seems useful, but not a priority for the team. Michael might take a look, but otherwise @lcnr is going to unnominate. ### [`.await` does not perform autoref or autoderef](https://github.com/rust-lang/rust/issues/111546) Seems like a T-lang thing for now - maybe T-types could help with evaluating breakage, but otherwise we don't feel the need to be involved. ### [Code no longer compiles after -Zdrop-tracking-mir was enabled by default](https://github.com/rust-lang/rust/issues/116242) Fixed, just needs backport. Needs to be unnominated. ### [regression: change in async capture rules?](https://github.com/rust-lang/rust/issues/117059) Don't have time to fix. Should keep investigating. ## Types FCPs ### [Tracking issue for dyn upcasting coercion](https://github.com/rust-lang/rust/issues/65991) ### [relax leak-check](https://github.com/rust-lang/rust/pull/112999) ### [generalize: handle occurs check failure in aliases](https://github.com/rust-lang/rust/pull/117088) ## Major change proposals ### [Add experimental support for implication predicates](https://github.com/rust-lang/types-team/issues/80) ### [Type system refactorings for further `rustc_type_ir`-ification](https://github.com/rust-lang/types-team/issues/124) ## Deep dive planning ### [Variance and Rust](https://github.com/rust-lang/types-team/issues/45) ### [discuss the `trait_alias` feature](https://github.com/rust-lang/types-team/issues/49) ### [Types team roadmap](https://github.com/rust-lang/types-team/issues/53) ### [Closure return type outlives guarantees](https://github.com/rust-lang/types-team/issues/57) ### [Account for late-bound lifetimes in generics #103448 ](https://github.com/rust-lang/types-team/issues/62) ### [Negative trait impls check-in](https://github.com/rust-lang/types-team/issues/82) ### [Coinductive trait semantics and normalization](https://github.com/rust-lang/types-team/issues/83) ### [MIR Formality progress](https://github.com/rust-lang/types-team/issues/86) ### [Specialization](https://github.com/rust-lang/types-team/issues/89) ### [Deep dive for leak check/higher ranked fn ptr subtyping](https://github.com/rust-lang/types-team/issues/96) ### [discuss "incorrect implied bounds in wfcheck"](https://github.com/rust-lang/types-team/issues/99) ### [dyn safety and coherence](https://github.com/rust-lang/types-team/issues/100) ### [`'erased` during analysis](https://github.com/rust-lang/types-team/issues/101)

    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