blob: 413bc0bf1e3782604d6b209235656c73a41510ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#![warn(clippy::unnecessary_box_returns)]
fn f() -> [u8; 64] {
//~^ ERROR: boxed return of the sized type `[u8; 64]`
todo!()
}
fn f2() -> Box<[u8; 65]> {
todo!()
}
fn main() {}
|