-
Notifications
You must be signed in to change notification settings - Fork 13.3k
'infinite' loop of E0119 error messages #27218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The reason for this is that the compiler is determining that there are 53 conflicting implementations across the crates that are linked by default. There is no "loop" in the diagnostics per se. As an example, the following code only outputs 4 errors (including two for the conflicting impls for #![feature(lang_items, no_std)]
#![no_std]
extern crate core;
use core::ops::Drop;
#[lang = "panic_fmt"]
fn panic_fmt() {}
#[lang = "stack_exhausted"]
fn stack_exhausted() {}
#[lang = "eh_personality"]
fn eh_personality() {}
impl<T: Drop> Drop for T {
fn drop(&mut self) {}
}
fn main() {} Output:
|
Ah, I should have read the output more clearly - my apologies! I'll close this off. |
While convoluting some code to try to find error messages, I came across a loop in the errors.
The code:
impl<T: Drop> Drop for T {
fn drop(&mut self) {}
}
The errors:
Obviously not an especially severe issue!
The text was updated successfully, but these errors were encountered: