Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
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
}