rust/tests/ui/const-generics/issues/issue-73120.rs
2023-01-11 09:32:08 +00:00

11 lines
260 B
Rust

// check-pass
// aux-build:const_generic_issues_lib.rs
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
extern crate const_generic_issues_lib as lib2;
fn unused_function(
_: <lib2::GenericType<42> as lib2::TypeFn>::Output
) {}
fn main() {}