This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2024-11-28 01:34:21 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a105aa227f
rust
/
tests
/
ui
/
index-bot.rs
4 lines
79 B
Rust
Raw
Normal View
History
Unescape
Escape
Add test that `!` cannot be indexed
2014-09-20 07:25:05 +00:00
fn
main
(
)
{
Add E0608
2017-06-09 17:05:14 +00:00
(
return
)
[
0
]
;
//~ ERROR cannot index into a value of type `!`
Add test that `!` cannot be indexed
2014-09-20 07:25:05 +00:00
}
Reference in New Issue
Copy Permalink