about summary refs log tree commit diff
path: root/compiler/rustc_session/src/options.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-04 12:12:55 +0000
committerbors <bors@rust-lang.org>2024-11-04 12:12:55 +0000
commit432972cae64d736b892e7a4c8b4fe7fe0e888904 (patch)
tree8c96044d7fe46e27d14655d0925d226901a483a8 /compiler/rustc_session/src/options.rs
parentca87b535a05097df6abbe2a031b057de2cefac5b (diff)
parente3bd6b27f3e788c20598cae3aa57a914142606e4 (diff)
downloadrust-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