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
/
mod-zero.rs
blob: 7a10ed05aafe53303dd9a8e7291adebc2a8cd2e2 (
plain
)
1
2
3
4
5
// error-pattern:modulo zero fn main() { let y = 0; let z = 1 % y; }