-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 4 pull requests #98047
Rollup of 4 pull requests #98047
Commits on Jun 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e5245ef - Browse repository at this point
Copy the full SHA e5245efView commit details -
lint: add diagnostic translation migration lints
Introduce allow-by-default lints for checking whether diagnostics are written in `SessionDiagnostic`/`AddSubdiagnostic` impls and whether diagnostics are translatable. These lints can be denied for modules once they are fully migrated to impls and translation. Signed-off-by: David Wood <david.wood@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 5ba81fa - Browse repository at this point
Copy the full SHA 5ba81faView commit details
Commits on Jun 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2f923c4 - Browse repository at this point
Copy the full SHA 2f923c4View commit details
Commits on Jun 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 77d6176 - Browse repository at this point
Copy the full SHA 77d6176View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd1290a - Browse repository at this point
Copy the full SHA fd1290aView commit details -
Rollup merge of rust-lang#97948 - davidtwco:diagnostic-translation-li…
…nts, r=oli-obk lint: add diagnostic translation migration lints Introduce allow-by-default lints for checking whether diagnostics are written in `SessionDiagnostic` or `AddSubdiagnostic` impls and whether diagnostics are translatable. These lints can be denied for modules once they are fully migrated to impls and translation. These lints are intended to be temporary - once all diagnostics have been changed then we can just change the APIs we have and that will enforce these constraints thereafter. r? ```@oli-obk```
Configuration menu - View commit details
-
Copy full SHA for 5f333e6 - Browse repository at this point
Copy the full SHA 5f333e6View commit details -
Rollup merge of rust-lang#97960 - RalfJung:offset-from, r=oli-obk
interpret: unify offset_from check with offset check `offset` does the check with a single `check_ptr_access` call while `offset_from` used two calls. Make them both just one one call. I originally intended to actually factor this into a common function, but I am no longer sure if that makes a lot of sense... the two functions start with pretty different precondition (e.g. `offset` *knows* that the 2nd pointer has the same provenance). I also reworded the UB messages a little. Saying it "cannot" do something is not how we usually phrase UB (as far as I know). Instead it's not *allowed* to do that. r? ```@oli-obk```
Configuration menu - View commit details
-
Copy full SHA for 8608388 - Browse repository at this point
Copy the full SHA 8608388View commit details -
Rollup merge of rust-lang#97999 - compiler-errors:type_changin_struct…
…_update_is_probably_complete, r=oli-obk Make `type_changing_struct_update` no longer an incomplete feature After rust-lang#97705, I don't see what would make it incomplete anymore. `check_expr_struct_fields` seems to now implement the RFC to the letter. r? ```@nikomatsakis``` cc ```@rust-lang/types```
Configuration menu - View commit details
-
Copy full SHA for 44e45ec - Browse repository at this point
Copy the full SHA 44e45ecView commit details -
Rollup merge of rust-lang#98043 - TaKO8Ki:remove-unnecessary-to-strin…
…g, r=davidtwco Remove unnecessary `to_string` and `String::new` rust-lang@73fa217 changed the type of the `suggestion` argument to `impl ToString`. This patch removes unnecessary `to_string` and `String::new`. cc: ```@davidtwco```
Configuration menu - View commit details
-
Copy full SHA for 55746fb - Browse repository at this point
Copy the full SHA 55746fbView commit details