-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
E0061 needs to be updated to new format #35216
Comments
Planning on tackling the bonus here. Is there a prefered max length for output on the console. In the case it would exceed this should i truncate the typename or just not include? |
@jaredwy - great point. If you want to work on truncation, feel free to add it, too. I'm not sure if the term crate will tell you the current terminal size, but it may. |
I'm fixing #35215 and I noticed that it and this issue currently share the same code for generating this error, and adding code to add a |
Did you do the bonus as well? I can tackle that if you haven't. |
@jaredwy I haven't yet - I can fix the |
Sounds great to me! Thanks. |
… r=jonathandturner E0060 e0061 format update This fixes rust-lang#35215 and fixes rust-lang#35216 as part of rust-lang#35233 A separate issue will be opened to track the bonus portion of the tickets as @jaredwy will be handling that part. ?r @jonathandturner
… r=jonathandturner E0060 e0061 format update This fixes rust-lang#35215 and fixes rust-lang#35216 as part of rust-lang#35233 A separate issue will be opened to track the bonus portion of the tickets as @jaredwy will be handling that part. ?r @jonathandturner
… r=jonathandturner E0060 e0061 format update This fixes rust-lang#35215 and fixes rust-lang#35216 as part of rust-lang#35233 A separate issue will be opened to track the bonus portion of the tickets as @jaredwy will be handling that part. ?r @jonathandturner
… r=jonathandturner E0060 e0061 format update This fixes rust-lang#35215 and fixes rust-lang#35216 as part of rust-lang#35233 A separate issue will be opened to track the bonus portion of the tickets as @jaredwy will be handling that part. ?r @jonathandturner
From: src/test/compile-fail/E0061.rs
Error E0061 needs a span_label, updating it from:
To:
Bonus: the types could be incorporated into the label rather than a note (though we may want to avoid types with long names in the label)
The text was updated successfully, but these errors were encountered: