]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/mod-zero.rs
Use better bound names in `-Zverbose` mode
[rust.git] / src / test / run-fail / mod-zero.rs
1 // error-pattern:attempt to calculate the remainder with a divisor of zero
2
3 fn main() {
4     let y = 0;
5     let _z = 1 % y;
6 }