Try upcoming mlua v0.9.2 #594
GitHub Actions / clippy
succeeded
Nov 22, 2023 in 1s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.0 (79e9716c9 2023-11-13)
- cargo 1.74.0 (ecb9851af 2023-10-18)
- clippy 0.1.74 (79e9716 2023-11-13)
Annotations
Check warning on line 287 in casper-server/src/lua/http/request.rs
github-actions / clippy
this `RefCell` reference is held across an `await` point
warning: this `RefCell` reference is held across an `await` point
--> casper-server/src/lua/http/request.rs:287:17
|
287 | let mut this = this.borrow_mut::<Self>()?;
| ^^^^^^^^
|
= help: ensure the reference is dropped before calling `await`
note: these are all the `await` points this reference is held through
--> casper-server/src/lua/http/request.rs:288:26
|
288 | this.clone().await
| ^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref
Check warning on line 369 in casper-server/src/lua/http/body.rs
github-actions / clippy
this `RefCell` reference is held across an `await` point
warning: this `RefCell` reference is held across an `await` point
--> casper-server/src/lua/http/body.rs:369:25
|
369 | let mut this = ud.borrow_mut::<Self>()?;
| ^^^^^^^^
|
= help: ensure the reference is dropped before calling `await`
note: these are all the `await` points this reference is held through
--> casper-server/src/lua/http/body.rs:375:82
|
375 | ... let bytes = match time::timeout(timeout, next_chunk).await {
| ^^^^^
...
386 | ... lua_try!(next_chunk.await.transpose())
| ^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref
= note: `#[warn(clippy::await_holding_refcell_ref)]` on by default
Loading