index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-fail
/
divide-by-zero.rs
blob: 8eb0d427ca43ea75096e5040134fe9d92d72d4c4 (
plain
)
1
2
3
4
5
// error-pattern:divide by zero fn main() { let y = 0; let z = 1 / y; }