This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-02 21:17:39 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
453b51a65a
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 20:02:50 +00:00
//@ run-fail
//@ error-pattern:location-mod-assign-by-zero.rs
add track_caller for arith ops
2023-11-23 16:54:06 +00:00
fn
main
(
)
{
let
mut
a
=
1
;
a
%
=
&
0
;
}
Reference in New Issue
Copy Permalink