diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-06-03 15:00:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-03 15:00:32 +0200 |
| commit | 19437666d9d6b38534a6b7bb575003033c180bff (patch) | |
| tree | 0e3c2d772b9fa8e420436f8fa92838eb57381d8a /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | c68032fd4c442d275f4daa571ba19c076106b490 (diff) | |
| parent | a6a1c1b247aa0fa404983efa3c226c25cafdd704 (diff) | |
| download | rust-19437666d9d6b38534a6b7bb575003033c180bff.tar.gz rust-19437666d9d6b38534a6b7bb575003033c180bff.zip | |
Rollup merge of #141724 - Sol-Ell:issue-141141-fix, r=nnethercote
fix(#141141): When expanding `PartialEq`, check equality of scalar types first. Fixes rust-lang/rust#141141. Now, `cs_eq` function of `partial_eq.rs` compares [scalar types](https://doc.rust-lang.org/rust-by-example/primitives.html#scalar-types) first. - Add `is_scalar` field to `FieldInfo`. - Add `is_scalar` method to `TyKind`. - Pass `FieldInfo` via `CsFold::Combine` and refactor code relying on it. - Implement `TryFrom<&str>` and `TryFrom<Symbol>` for FloatTy. - Implement `TryFrom<&str>` and `TryFrom<Symbol>` for IntTy. - Implement `TryFrom<&str>` and `TryFrom<Symbol>` for UintTy.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
