rust/tests/ui/const-generics/issues/issue-73120.rs

11 lines
260 B
Rust
Raw Normal View History

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