-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Bump deps #7016
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
Bump deps #7016
Conversation
| rust_ir::AdtRepr { repr_c: false, repr_packed: false } | ||
| fn adt_repr(&self, _struct_id: AdtId) -> Arc<rust_ir::AdtRepr<Interner>> { | ||
| // FIXME: keep track of these | ||
| Arc::new(rust_ir::AdtRepr { c: false, packed: false, int: None }) |
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.
I think we already remember the packedness, but I got a bit lost trying to retrieve it.
|
r? @flodiebold |
crates/hir_ty/src/traits/chalk.rs
Outdated
| } | ||
| fn discriminant_type(&self, _ty: chalk_ir::Ty<Interner>) -> chalk_ir::Ty<Interner> { | ||
| // FIXME: keep track of this | ||
| unimplemented!(); |
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.
hmm this could potentiall introduce crashes, together with the well_known_trait_from_lang_attr addition. Could you make it instead just return i32 (chalk_ir::TyKind::Scalar(Scalar::Uint(chalk_ir::IntTy::I32)).intern(&Interner))?
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.
Updated, thanks
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.
What do you mean about well_known_trait_from_lang_attr?
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.
Just that because of that change, this function could be called.
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.
Ah, right.
|
bors r+ |
No description provided.