about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-01-30 16:57:51 +0100
committerGitHub <noreply@github.com>2024-01-30 16:57:51 +0100
commitf3f14726787b492cfc511fe76725613a963fa516 (patch)
treecb9ceb49700870e95900cc8f9166effcf41d6810 /compiler/rustc_interface/src
parent399b81faac6d157c64940c618234b72d94554014 (diff)
parentb4efe07006773c3049fb78586fd00acff690e544 (diff)
downloadrust-f3f14726787b492cfc511fe76725613a963fa516.tar.gz
rust-f3f14726787b492cfc511fe76725613a963fa516.zip
Rollup merge of #120476 - compiler-errors:lang-items-yeet, r=Nilstrieb
Remove some unnecessary check logic for lang items in HIR typeck

Obvious bugs with `#[no_core]` do not deserve customized recovery logic, since they are bugs we do not expect users to ever encounter, and if users are experimenting with `#[no_core]`, they should really be familiar with the compiler implementation.

These error recoveries are implemented now only where issues have been reported in the past, rather than systematically validating lang items.

See https://github.com/rust-lang/compiler-team/issues/620
> In particular, one-off fixes for particular assumptions about lang items or intrinsics that introduce additional complexity into the compiler are not accepted.

r? Nilstrieb
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions