rustc producing huge irrelevant errors on attempt to impl
on foreign type
#131030
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
I am not sure about the possibility of a minimal reproduction case, since the number of errors seems to be at least partially a function of the size of the rest of the codebase. It should be possibly to reproduce by cloning https://github.com/CrashAndSideburns/ilo-binutils, and adding the following snippet of code to
pali/src/poki.rs
:then running
cargo r
at the root of the repo.Current output
Desired output
Only the relevant error should be printed, namely:
Rationale and extra context
No response
Other cases
No response
Rust Version
rustc 1.81.0 (eeb90cd 2024-09-04)
binary: rustc
commit-hash: eeb90cd
commit-date: 2024-09-04
host: x86_64-unknown-linux-gnu
release: 1.81.0
LLVM version: 18.1.7
Anything else?
No response
The text was updated successfully, but these errors were encountered: