Sign in
rust
/
rust-clippy
/
refs/heads/stable
/
.
/
tests
/
ui
/
eta_nostd.fixed
blob: 134af34a826a41a0194c08b9ec0cd9a098c0242c [
file
] [
log
] [
blame
] [
edit
]
#![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
}