This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
3df7882272
rust
/
tests
/
ui
/
numbers-arithmetic
/
location-add-overflow.rs
7 lines
97 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-add-overflow.rs
add track_caller for arith ops
2023-11-24 00:54:06 +08:00
fn
main
(
)
{
let
_
:
u8
=
255
+
&
1
;
}
Reference in a new issue
Copy permalink