about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/ice-12491.stderr
blob: 4b77299dd5e6cde39ca01a3c12a422b355f76e26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: unneeded `return` statement
  --> tests/ui/crashes/ice-12491.rs:6:9
   |
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