Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 8 pull requests #120025

Merged
merged 20 commits into from
Jan 16, 2024
Merged

Rollup of 8 pull requests #120025

merged 20 commits into from
Jan 16, 2024

Commits on Nov 27, 2023

  1. stabilise bound_map

    Dylan-DPC committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    a43dc2b View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    08fc5e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ae0044 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Inline check_closure

    compiler-errors committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    50e1580 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a63183 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Configuration menu
    Copy the full SHA
    6f98a6c View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. Configuration menu
    Copy the full SHA
    f760223 View commit details
    Browse the repository at this point in the history
  2. Update books

    rustbot committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    0a049cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b66f49 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    448c4a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    604d208 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Don't allow .html files in tests/mir-opt/

    HTML files were needed for testing `-Z dump-mir-spanview`, but that flag has
    been removed by rust-lang#119566.
    Zalathar committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    40166c8 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#118361 - Dylan-DPC:80626/stab/bound-map, r=…

    …Amanieu
    
    stabilise bound_map
    
    Closes rust-lang#86026
    matthiaskrgr authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    304a17a View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#119816 - oli-obk:tait_ice_unify_obligations…

    …, r=lcnr
    
    Define hidden types in confirmation
    
    fixes  rust-lang#111470
    
    r? `@lcnr` or `@compiler-errors`
    
    explanation in the newly added test
    matthiaskrgr authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    d4b276c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#119900 - compiler-errors:closure-checking, …

    …r=oli-obk
    
    Inline `check_closure`, simplify `deduce_sig_from_projection`
    
    Some minor cleanups that I've collected when reimplementing async closure
    
    r? oli-obk
    matthiaskrgr authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    5f9d1d4 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#119969 - compiler-errors:simplify-closure-e…

    …nv-ty, r=oli-obk
    
    Simplify `closure_env_ty` and `closure_env_param`
    
    Random cleanup that I found when working on async closures. This makes it easier to separate the latter into a new tykind.
    matthiaskrgr authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    4735171 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#119990 - reitermarkus:nonzero-type-alias, r…

    …=dtolnay
    
    Add private `NonZero<T>` type alias.
    
    According to step 2 suggested in rust-lang#100428 (review).
    
    This adds a private type alias for `NonZero<T>` so that some parts of the code can already start using `NonZero<T>` syntax.
    
    Using `NonZero<T>` for `convert` and other parts which implement `From` doesn't work while it is a type alias, since this results in conflicting implementations.
    matthiaskrgr authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    ac3108f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#119998 - rustbot:docs-update, r=ehuss

    Update books
    
    ## rust-lang/nomicon
    
    1 commits in f6bd083c4ccfc4ce6699b8b4154e3c45c5a27a8c..6bc2415218d4dd0cb01433d8320f5ccf79c343a1
    2024-01-03 04:01:04 UTC to 2024-01-03 04:01:04 UTC
    
    - Update an example of `thread_local` to use `local_key_cell_methods` (rust-lang/nomicon#438)
    
    ## rust-lang/reference
    
    1 commits in 3565c7978cfc9662f5963b135690ff9cbbfa0318..8c77e8be9da1a9c70545556218d563c8d061f1fd
    2024-01-08 15:16:51 UTC to 2024-01-08 15:16:51 UTC
    
    - Document that <- is a single token (rust-lang/reference#1424)
    
    ## rust-lang/rust-by-example
    
    4 commits in c0be6299e52e4164c30ba6f41bd0ad0aaee64972..ddf5cb0e6ee54ba2dd84c8ca3e1314120014e20d
    2024-01-13 11:06:22 UTC to 2024-01-13 11:01:00 UTC
    
    - Update attribute.md, (rust-lang/rust-by-example#1791)
    - fix: typo `unusude` (rust-lang/rust-by-example#1797)
    - Update print.md (rust-lang/rust-by-example#1796)
    - Update alias.md (rust-lang/rust-by-example#1790)
    
    ## rust-lang/rustc-dev-guide
    
    4 commits in d13e85152a977cd0bcaf583cf5f49e86225697de..4af29d1a7f64f88a36539662c6a84fe1fbe6cde1
    2024-01-14 10:42:53 UTC to 2024-01-06 17:47:01 UTC
    
    - Expand upon PR guidelines (rust-lang/rustc-dev-guide#1851)
    - Correct the link to rust reference (rust-lang/rustc-dev-guide#1848)
    - Explain the important concepts of exhaustiveness checking (rust-lang/rustc-dev-guide#1830)
    - Add guide for rustdoc search implementation (rust-lang/rustc-dev-guide#1846)
    matthiaskrgr authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    bcea676 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#120002 - Nadrieril:dont-collect, r=compiler…

    …-errors
    
    Lint `overlapping_ranges_endpoints` directly instead of collecting into a Vec
    
    In rust-lang#119396 I was a bit silly: I was trying to avoid any lints being fired from within the exhaustiveness algorithm for some vague aesthetic/reusability reason that doesn't really hold. This PR fixes that: instead of passing a `&mut Vec` around I just added a method to the `TypeCx` trait.
    
    r? `@compiler-errors`
    matthiaskrgr authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    1f0daa5 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#120018 - Zalathar:mir-opt-html, r=Nilstrieb

    Don't allow `.html` files in `tests/mir-opt/`
    
    HTML files were needed for testing `-Z dump-mir-spanview`, but that flag has been removed by rust-lang#119566.
    matthiaskrgr authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    9154410 View commit details
    Browse the repository at this point in the history