-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Split hir ty lowerer's error reporting code in check functions to mod errors. #122865
Split hir ty lowerer's error reporting code in check functions to mod errors. #122865
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some desired changes, HOWEVER, wait until #120926 has been merged as that change will require a potentiall painful rebase. It may even be easier to reimplement this PR from scratch '^^
☔ The latest upstream changes (presumably #120926) made this pull request unmergeable. Please resolve the merge conflicts. |
astconv is kill |
83cafab
to
fcb3dcb
Compare
HIR ty lowering was modified cc @fmease |
fcb3dcb
to
f9a328f
Compare
Thank you for your reminder @workingjubilee |
Thank you very much.If CI does not complain, please help me continue to review. I tested it locally and I think there should be no tests error. |
compiler/rustc_hir_analysis/src/hir_ty_lowering/object_safety.rs
Outdated
Show resolved
Hide resolved
f9a328f
to
7940303
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me after final nit
7940303
to
71fd305
Compare
pub struct EnumVariantsGenericsErrExtend<'tcx> { | ||
pub tcx: TyCtxt<'tcx>, |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
71fd305
to
0f57ff8
Compare
This comment has been minimized.
This comment has been minimized.
Move some error report codes to mod `astconv/errors.rs`
0f57ff8
to
1012218
Compare
thanks ❤️ @bors r+ rollup |
Rollup of 5 pull requests Successful merges: - rust-lang#122865 (Split hir ty lowerer's error reporting code in check functions to mod errors.) - rust-lang#122935 (rename ptr::from_exposed_addr -> ptr::with_exposed_provenance) - rust-lang#123182 (Avoid expanding to unstable internal method) - rust-lang#123203 (Add `Context::ext`) - rust-lang#123380 (Improve bootstrap comments) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#122865 - surechen:refactor_astconv_error_report_20240321, r=lcnr Split hir ty lowerer's error reporting code in check functions to mod errors. Move some error report codes to mod `astconv/errors.rs` r? `@lcnr`
Move some error report codes to mod
astconv/errors.rs
r? @lcnr