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-14 02:49:40 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
58e901b6fd
rust
/
tests
/
ui
/
error-codes
/
E0607.rs
5 lines
89 B
Rust
Raw
Normal View
History
Unescape
Escape
Add E0607
2017-06-07 22:13:28 +00:00
fn
main
(
)
{
Make use of `ptr::null(_mut)` instead of casting zero
2019-06-17 10:52:37 +00:00
let
v
=
core
::
ptr
::
null
::
<
u8
>
(
)
;
Add E0607
2017-06-07 22:13:28 +00:00
v
as
*
const
[
u8
]
;
//~ ERROR E0607
}
Reference in New Issue
Copy Permalink