Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
error-codes
/
E0080.rs
blob: ea3264b61b356fd51a89529c784809c27b4f44b1 [
file
] [
log
] [
blame
]
enum
Enum
{
X
=
(
1
<<
500
),
//~ ERROR E0080
//~| attempt to shift left by `500_i32`, which would overflow
Y
=
(
1
/
0
)
//~ ERROR E0080
}
fn
main
()
{
}