]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/issue-105689.rs
Auto merge of #104334 - compiler-errors:ufcs-sugg-wrong-def-id, r=estebank
[rust.git] / src / test / ui / const-generics / issue-105689.rs
1 // check-pass
2 // edition:2021
3 #![feature(generic_const_exprs)]
4 #![allow(incomplete_features)]
5
6 #[allow(unused)]
7 async fn foo<'a>() {
8     let _data = &mut [0u8; { 1 + 4 }];
9     bar().await
10 }
11
12 async fn bar() {}
13
14 fn main() {}