summary refs log tree commit diff
path: root/src/test/compile-fail/struct-no-fields-enumlike.rs
AgeCommit message (Collapse)AuthorLines
2014-06-22libsyntax: don't allow enum structs with no fieldsBenjamin Herr-0/+13
Unit-like structs are written as `struct Foo;`, but we erroneously accepted `struct Foo();` and took it to mean the same thing. Now we don't, so use the `struct Foo;` form! [breaking-change]