Uh oh!
There was an error while loading. Please reload this page.
Migrate rustc_resolve to use SessionDiagnostic, part # 1 - #101162
Conversation
rustbot
commented
Aug 29, 2022
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
rust-highfive
commented
Aug 29, 2022
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @fee1-dead (or someone else) soon. Please see the contribution instructions for more information. |
compiler-errors
commented
Aug 29, 2022
@rajputrajat, can you please remove all of these merge commits? We have a no merge commit policy. |
This comment has been minimized.
This comment has been minimized.
compiler-errors
commented
Aug 29, 2022
@rajputrajat -- I think you need to do something like |
rajputrajat
commented
Aug 30, 2022
Yes. I will update this as you suggested. Thanks! |
fee1-dead
commented
Aug 30, 2022
r? @davidtwco |
davidtwco
left a comment
There was a problem hiding this comment.
This is a great start, I've left some comments, you'll need to remove the merge commits as @compiler-errors has noted. :)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as resolved.
This comment was marked as resolved.
rustbot
commented
Sep 3, 2022
Some changes occurred in src/tools/cargo cc @ehuss The Miri submodule was changed cc @rust-lang/miri |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
RalfJung
commented
Sep 4, 2022
Looks like something went wrong in the rebase, this contains a bunch of changes it shouldn't (submodules, lockfile). |
This comment has been minimized.
This comment has been minimized.
30f6b99 to
2f600ecCompareUh oh!
There was an error while loading. Please reload this page.
davidtwco
commented
Sep 22, 2022
You should run |
rajputrajat
commented
Nov 4, 2022
Done. Please review. |
rajputrajat
commented
Nov 4, 2022
Wrong commits were picked while squashing. corrected! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
this one being used in 'suggestion', so seems like need to leave as is.
There was a problem hiding this comment.
This might be another case where we can use IntoDiagnosticArg and embed the meaningful type directly in the error.
There was a problem hiding this comment.
that string is part of a suggestion, so need to leave as is.
There was a problem hiding this comment.
Just a note for myself: we should have a IntoDiagnosticSpan trait and use that for all the various types that contain spans, like paths here or Ident.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
implement binding_shadows migrate till self-in-generic-param-default use braces in fluent message as suggested by @compiler-errors. to fix lock file issue reported by CI migrate 'unreachable label' error run formatter name the variables correctly in fluent file SessionDiagnostic -> Diagnostic test "pattern/pat-tuple-field-count-cross.rs" passed test "resolve/bad-env-capture2.rs" passed test "enum/enum-in-scope.rs" and other depended on "resolve_binding_shadows_something_unacceptable" should be passed now. fix crash errors while running test-suite. there might be more. then_some(..) suits better here. all tests passed convert TraitImpl and InvalidAsm. TraitImpl is buggy yet. will fix after receiving help from Zulip migrate "Ralative-2018" migrate "ancestor only" migrate "expected found" migrate "Indeterminate" migrate "module only" revert to the older implementation for now. since this is failing at the moment. follow the convension for fluent variable order the diag attribute as suggested in review comment fix merge error. migrate trait-impl-duplicate make the changes compatible with "Flatten diagnostic slug modules rust-lang#103345" fix merge remove commented code merge issues fix review comments fix tests
37a7e9d to
269ce36Comparedavidtwco
commented
Nov 15, 2022
@bors r+ |
bors
commented
Nov 15, 2022
Migrate rustc_resolve to use SessionDiagnostic, part # 1 crate a somewhat on larger size, so plz allow some time to get it finished.
Migrate rustc_resolve to use SessionDiagnostic, part # 1 crate a somewhat on larger size, so plz allow some time to get it finished.
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#101162 (Migrate rustc_resolve to use SessionDiagnostic, part # 1) - rust-lang#103386 (Don't allow `CoerceUnsized` into `dyn*` (except for trait upcasting)) - rust-lang#103405 (Detect incorrect chaining of if and if let conditions and recover) - rust-lang#103594 (Fix non-associativity of `Instant` math on `aarch64-apple-darwin` targets) - rust-lang#104006 (Add variant_name function to `LangItem`) - rust-lang#104494 (Migrate GUI test to use functions) - rust-lang#104516 (rustdoc: clean up sidebar width CSS) - rust-lang#104550 (fix a typo) Failed merges: - rust-lang#104554 (Use `ErrorGuaranteed::unchecked_claim_error_was_emitted` less) r? `@ghost` `@rustbot` modify labels: rollup
bors
commented
Nov 18, 2022
☔ The latest upstream changes (presumably #104573) made this pull request unmergeable. Please resolve the merge conflicts. |
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#101162 (Migrate rustc_resolve to use SessionDiagnostic, part # 1) - rust-lang#103386 (Don't allow `CoerceUnsized` into `dyn*` (except for trait upcasting)) - rust-lang#103405 (Detect incorrect chaining of if and if let conditions and recover) - rust-lang#103594 (Fix non-associativity of `Instant` math on `aarch64-apple-darwin` targets) - rust-lang#104006 (Add variant_name function to `LangItem`) - rust-lang#104494 (Migrate GUI test to use functions) - rust-lang#104516 (rustdoc: clean up sidebar width CSS) - rust-lang#104550 (fix a typo) Failed merges: - rust-lang#104554 (Use `ErrorGuaranteed::unchecked_claim_error_was_emitted` less) r? `@ghost` `@rustbot` modify labels: rollup
crate a somewhat on larger size, so plz allow some time to get it finished.