diff options
| author | bors <bors@rust-lang.org> | 2024-11-04 12:12:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-11-04 12:12:55 +0000 |
| commit | 432972cae64d736b892e7a4c8b4fe7fe0e888904 (patch) | |
| tree | 8c96044d7fe46e27d14655d0925d226901a483a8 /compiler/rustc_session/src/options.rs | |
| parent | ca87b535a05097df6abbe2a031b057de2cefac5b (diff) | |
| parent | e3bd6b27f3e788c20598cae3aa57a914142606e4 (diff) | |
| download | rust-432972cae64d736b892e7a4c8b4fe7fe0e888904.tar.gz rust-432972cae64d736b892e7a4c8b4fe7fe0e888904.zip | |
Auto merge of #132275 - compiler-errors:deref-effects, r=fee1-dead
Register `~const` preds for `Deref` adjustments in HIR typeck This doesn't *do* anything yet, since `Deref` and `DerefMut` aren't constified, and we explicitly don't error on calling non-const trait methods in HIR yet -- presumably that will wait until std is re-constified. But I'm confident this logic is correct, and this (afaict?) is the only major hole left in enforcing `~const` in HIR typeck. r? fee1-dead
Diffstat (limited to 'compiler/rustc_session/src/options.rs')
0 files changed, 0 insertions, 0 deletions
