-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
impl Trait
doesn't understand that empty functions return ()
#36379
Labels
A-traits
Area: Trait system
A-typesystem
Area: The type system
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Comments
This works today; E-needstest. |
Mark-Simulacrum
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
May 18, 2017
@Mark-Simulacrum would a |
venkatagiri
added a commit
to venkatagiri/rust
that referenced
this issue
May 25, 2017
Mark-Simulacrum
added a commit
to Mark-Simulacrum/rust
that referenced
this issue
May 26, 2017
…=Mark-Simulacrum regression tests for ICEs closes rust-lang#36379 closes rust-lang#37550 closes rust-lang#37665 closes rust-lang#38160 closes rust-lang#38954 closes rust-lang#39362 r? @Mark-Simulacrum
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
May 26, 2017
…=Mark-Simulacrum regression tests for ICEs closes rust-lang#36379 closes rust-lang#37550 closes rust-lang#37665 closes rust-lang#38160 closes rust-lang#38954 closes rust-lang#39362 r? @Mark-Simulacrum
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
May 26, 2017
…=Mark-Simulacrum regression tests for ICEs closes rust-lang#36379 closes rust-lang#37550 closes rust-lang#37665 closes rust-lang#38160 closes rust-lang#38954 closes rust-lang#39362 r? @Mark-Simulacrum
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-traits
Area: Trait system
A-typesystem
Area: The type system
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
The following should compile because
(): Default
:However, it fails with:
(Obviously, nobody will ever run into this in practice...)
The text was updated successfully, but these errors were encountered: