]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/const-generic-type_name.rs
Rollup merge of #107819 - clubby789:x-py-root, r=jyn514
[rust.git] / tests / ui / const-generics / const-generic-type_name.rs
1 // run-pass
2
3 #[derive(Debug)]
4 struct S<const N: usize>;
5
6 fn main() {
7     assert_eq!(std::any::type_name::<S<3>>(), "const_generic_type_name::S<3>");
8 }