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-12-04 20:54:13 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
ff855547f4
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