rust/tests/ui/indexing/index-bot.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
79 B
Rust
Raw Normal View History

2014-09-20 07:25:05 +00:00
fn main() {
2017-06-09 17:05:14 +00:00
(return)[0]; //~ ERROR cannot index into a value of type `!`
2014-09-20 07:25:05 +00:00
}