Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-41394.rs
blob: 45318f6efb892b667649cddea0593905c7c8acab [
file
] [
log
] [
blame
]
enum
Foo
{
A
=
""
+
1
//~^ ERROR binary operation `+` cannot be applied to type `&str`
}
enum
Bar
{
A
=
Foo
::
A
as
isize
//~^ ERROR evaluation of constant value failed
}
fn
main
()
{}