]> git.proxmox.com Git - rustc.git/blob - vendor/wasi/clip.log
New upstream version 1.40.0+dfsg1
[rustc.git] / vendor / wasi / clip.log
1 Updating crates.io index
2 Checking wasi v0.6.0 (/home/sunfish/rust-wasi)
3 warning: use of `offset` with a `usize` casted to an `isize`
4 --> src/wasi_unstable/mod.rs:629:21
5 |
6 629 | if *ptr.offset(n as isize) == 0 {
7 | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr.add(n)`
8 |
9 = note: #[warn(clippy::ptr_offset_with_cast)] on by default
10 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
11
12 warning: use of `offset` with a `usize` casted to an `isize`
13 --> src/wasi_unstable/mod.rs:684:24
14 |
15 684 | match *ptr.offset(n as isize) {
16 | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr.add(n)`
17 |
18 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
19
20 Finished dev [unoptimized + debuginfo] target(s) in 3.08s