This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
2cc81baaf4
rust
/
tests
/
ui
/
indexing
/
index-bot.rs
4 lines
79 B
Rust
Raw
Normal View
History
Unescape
Escape
Add test that `!` cannot be indexed
2014-09-20 00:25:05 -07:00
fn
main
(
)
{
Add E0608
2017-06-09 19:05:14 +02:00
(
return
)
[
0
]
;
//~ ERROR cannot index into a value of type `!`
Add test that `!` cannot be indexed
2014-09-20 00:25:05 -07:00
}
Copy permalink