]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/const-vec-syntax.rs
Rollup merge of #107004 - compiler-errors:new-solver-new-candidates-2, r=lcnr
[rust.git] / tests / ui / consts / const-vec-syntax.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 fn f(_: &[isize]) {}
5
6 pub fn main() {
7     let v = [ 1, 2, 3 ];
8     f(&v);
9 }