]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/as_underscore.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / as_underscore.stderr
1 error: using `as _` conversion
2 --> $DIR/as_underscore.rs:9:9
3 |
4 LL | foo(n as _);
5 | ^^^^^-
6 | |
7 | help: consider giving the type explicitly: `usize`
8 |
9 = note: `-D clippy::as-underscore` implied by `-D warnings`
10
11 error: using `as _` conversion
12 --> $DIR/as_underscore.rs:12:18
13 |
14 LL | let _n: u8 = n as _;
15 | ^^^^^-
16 | |
17 | help: consider giving the type explicitly: `u8`
18
19 error: aborting due to 2 previous errors
20