-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 5 pull requests #112609
Rollup of 5 pull requests #112609
Commits on Jun 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b133841 - Browse repository at this point
Copy the full SHA b133841View commit details
Commits on Jun 13, 2023
-
rustdoc-search: search never type with
!
This feature extends rustdoc to support the syntax that most users will naturally attempt to use to search for diverging functions. Part of rust-lang#60485 It's already possible to do this search with `primitive:never`, but that's not what the Rust language itself uses, so nobody will try it if they aren't told or helped along.
Configuration menu - View commit details
-
Copy full SHA for db277f5 - Browse repository at this point
Copy the full SHA db277f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b55f08 - Browse repository at this point
Copy the full SHA 7b55f08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bbc598 - Browse repository at this point
Copy the full SHA 3bbc598View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7330eb - Browse repository at this point
Copy the full SHA f7330ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for c92342d - Browse repository at this point
Copy the full SHA c92342dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ff79cf - Browse repository at this point
Copy the full SHA 7ff79cfView commit details
Commits on Jun 14, 2023
-
Rollup merge of rust-lang#112197 - compiler-errors:next-solver-erase,…
… r=lcnr Erase regions even if normalization fails in writeback (in new solver) Or else we ICE during writeback on some programs that error
Configuration menu - View commit details
-
Copy full SHA for 6fc50da - Browse repository at this point
Copy the full SHA 6fc50daView commit details -
Rollup merge of rust-lang#112495 - bvanjoi:fix-109153, r=petrochenkov
fix(resolve): update shadowed_glob more precision - Fixes rust-lang#109153 - Fixes rust-lang#109962 ## Why does it panic? We use rust-lang#109153 as an illustration. The process of `resolve_imports` is: | Iter | resolve | resolution of **`(Mod(root), Ident(bar) in type ns)`** | | - | - | - | | 0 | `use foo::*` | `binding` -> foo::bar, `shallowed_glob` -> `None` | | 1 | `use bar::bar` | `binding` -> foo::bar::bar, `shallowed_glob` -> foo::bar | | 2 | `use bar::*` | `binding` -> foo::bar::bar, `shallowed_glob` -> foo::bar::bar::bar | So during `finalize_import`, the `root::bar` in `use bar::bar` had been pointed to `foo::bar::bar::bar`, which is different from the `initial_module` valued of `foo::bar`, therefore, the panic had been triggered. ## Try to solve it ~I think rust-lang#109153 should check-pass rather than throw an ambiguous error. Following this idea, there are two ways to solve this problem:~ ~1. Give up the `initial_module` and update `import.imported_module` after each resolution update. However, I think this method may have too much impact.~ ~2. Do not update the `shadowed_glob` when it is defined.~ ~To be honest, I am not sure if this is the right way to solve this ICE. Perhaps there is a better resolution.~ Edit: we had made the `resolution.shadowed_glob` update more detailed. r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for 98f6e96 - Browse repository at this point
Copy the full SHA 98f6e96View commit details -
Rollup merge of rust-lang#112520 - chenyukang:yukang-fix-112505, r=fe…
…e1-dead Fix the overflow issue for transmute_generic_consts Fixes rust-lang#112505
Configuration menu - View commit details
-
Copy full SHA for 269ea4b - Browse repository at this point
Copy the full SHA 269ea4bView commit details -
Rollup merge of rust-lang#112571 - notriddle:notriddle/never-search, …
…r=GuillaumeGomez rustdoc-search: search never type with `!` This feature extends rustdoc to support the syntax that most users will naturally attempt to use to search for diverging functions. Part of rust-lang#60485 It's already possible to do this search with `primitive:never`, but that's not what the Rust language itself uses, so nobody will try it if they aren't told or helped along.
Configuration menu - View commit details
-
Copy full SHA for e3021b4 - Browse repository at this point
Copy the full SHA e3021b4View commit details -
Rollup merge of rust-lang#112581 - TumoiYorozu:fix_url_encoding_of_pe…
…rcent_sign, r=notriddle [rustdoc] Fix URL encoding of % sign Fix rust-lang#112580 The % is encoded as %%, but the correct encoding is %25.
Configuration menu - View commit details
-
Copy full SHA for 623b1d4 - Browse repository at this point
Copy the full SHA 623b1d4View commit details