This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust
/
tests
/
ui
/
issues
/
issue-3779.rs
9 lines
105 B
Rust
Raw
Normal View
History
Unescape
Escape
Move logic to `is_representable` instead of climbing HIR
2017-04-15 16:18:09 -07:00
struct
S
{
//~^ ERROR E0072
Add compile-fail tests for non-representable structs and enums
2014-01-28 01:29:22 -05:00
element
:
Option
<
S
>
}
fn
main
(
)
{
let
x
=
S
{
element
:
None
}
;
}
Reference in New Issue
Copy Permalink