This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
14e59bb317
rust
/
tests
/
ui
/
structs-enums
/
issue-3008-2.rs
7 lines
77 B
Rust
Raw
Normal View
History
Unescape
Escape
make non_camel_case_types an early lint
2018-12-16 22:21:47 -05:00
enum
Foo
{
Foo_
(
Bar
)
}
struct
Bar
{
x
:
Bar
}
Detect cycles and specialize error reporting for Sized. It is important to get the `Sized` error usable, since that hits new users frequently. Further work is needed for the error reporting for non-Sized cycle cases; those currently just fallback to the old path. Also adjust tests.
2016-01-08 21:41:37 -05:00
//~^ ERROR E0072
Add compile-fail tests for non-representable structs and enums
2014-01-28 01:29:22 -05:00
fn
main
(
)
{
}
Copy permalink