20 lines
517 B
Plaintext
20 lines
517 B
Plaintext
|
error: unneeded `return` statement
|
||
|
--> tests/ui/crashes/ice-12491.rs:5:24
|
||
|
|
|
||
|
LL | // anything一些中文
|
||
|
| ____________________________^
|
||
|
LL | | return;
|
||
|
| |______________^
|
||
|
|
|
||
|
= note: `-D clippy::needless-return` implied by `-D warnings`
|
||
|
= help: to override `-D warnings` add `#[allow(clippy::needless_return)]`
|
||
|
help: remove `return`
|
||
|
|
|
||
|
LL - // anything一些中文
|
||
|
LL - return;
|
||
|
LL + // anything一些中文
|
||
|
|
|
||
|
|
||
|
error: aborting due to 1 previous error
|
||
|
|