Sign in
rust
/
rust-clippy
/
9eb85122558fd7c3a8909939f9cbe4d0f15d73f3
/
.
/
tests
/
ui
/
eta_nostd.fixed
blob: 134af34a826a41a0194c08b9ec0cd9a098c0242c [
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
(
alloc
::
vec
::
Vec
::
new
);
//~^ redundant_closure
}