This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
7312b41239
rust
/
tests
/
ui
/
numbers-arithmetic
/
location-mod-assign-by-zero.rs
8 lines
109 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 14:02:50 -06:00
//@ run-fail
//@ error-pattern:location-mod-assign-by-zero.rs
add track_caller for arith ops
2023-11-23 10:54:06 -06:00
fn
main
(
)
{
let
mut
a
=
1
;
a
%
=
&
0
;
}
Reference in New Issue
Copy Permalink