-
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
Improve error messages involving type aliases #17164
Comments
This doesn't need type Lol = i32;
fn main() {
let a: Lol = 0;
let () = a;
} |
Right, |
Triage: no change |
This is fundamentally the same as #21934, only more specific. |
Rustdoc would benefit from work on this; see https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/To.20alias.20or.20not.20to.20alias. |
Current output with type Lol = i32;
fn main() {
let a: Lol = 0;
let () = a;
}
|
CC #97974 |
It would be great if
rustc
could showlibc::ssize_t
as well asi64
in the error message. Compare it with GCC 4.9The text was updated successfully, but these errors were encountered: