]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-generic-type_name.rs
Auto merge of #93718 - thomcc:used-macho, r=pnkfelix
[rust.git] / src / test / 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 }