Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
eta_nostd.rs
blob: 8d0541bedb2e10fb378e4da816f2c916afde0d8b [
file
] [
log
] [
blame
]
#![
warn
(
clippy
::
redundant_closure
)]
#![
no_std
]
extern
crate alloc
;
use
alloc
::
vec
;
use
alloc
::
vec
::
Vec
;
fn
issue_13895
()
{
let
_
:
Option
<
Vec
<
u8
>>
=
true
.
then
(||
vec
![]);
//~^ redundant_closure
}