Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//@ compile-flags: -Znext-solver
//@ check-pass
//@ edition:2021

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would have been nice to add a "// Regression test for #129865. <one line explanation of what happened here" to test test.

That makes it a lot easier to figure out what it's supposed to be testing

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I'll add it when opening next PR

pub async fn cleanse_old_array_async(_: &[u8; BUCKET_LEN]) {}

pub const BUCKET_LEN: usize = 0;

pub fn cleanse_old_array_async2() -> impl std::future::Future {
let x: [u8; 0 + 0] = [];
async move { let _ = x; }
}

fn main() {}
Loading