diff options
| author | bors <bors@rust-lang.org> | 2025-01-09 10:50:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-09 10:50:19 +0000 |
| commit | ec12cd8436aab693d8847b3077c26fe2de4ed661 (patch) | |
| tree | b88f5ff48b5a618b99f1cc9bf0522e6cf4a9bd9a /compiler/rustc_hir_analysis/src | |
| parent | b6b8361bce8561fb8786ad33ca1abfdf4bc487b6 (diff) | |
| parent | a1cadeab68e5eee105d9b5819bbb83264ae073fc (diff) | |
| download | rust-ec12cd8436aab693d8847b3077c26fe2de4ed661.tar.gz rust-ec12cd8436aab693d8847b3077c26fe2de4ed661.zip | |
Auto merge of #135279 - matthiaskrgr:rollup-ek2qere, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #135212 (Remove outdated information in the `unreachable_pub` lint description) - #135225 (Explicitly build proc macro test with panic=unwind) - #135242 (add missing provenance APIs on NonNull) - #135247 (Add a list of symbols for stable standard library crates) - #135269 (Remove some unnecessary `.into()` calls) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check/wfcheck.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/wfcheck.rs b/compiler/rustc_hir_analysis/src/check/wfcheck.rs index 81a5e9ee90d..dd6adb17c5e 100644 --- a/compiler/rustc_hir_analysis/src/check/wfcheck.rs +++ b/compiler/rustc_hir_analysis/src/check/wfcheck.rs @@ -1120,7 +1120,7 @@ fn check_type_defn<'tcx>( } else { // Evaluate the constant proactively, to emit an error if the constant has // an unconditional error. We only do so if the const has no type params. - let _ = tcx.const_eval_poly(def_id.into()); + let _ = tcx.const_eval_poly(def_id); } } let field_id = field.did.expect_local(); |
