]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-generic-type_name.rs
pin docs: add some forward references
[rust.git] / src / test / ui / const-generics / const-generic-type_name.rs
1 // run-pass
2
3 #![feature(const_generics)]
4 //~^ WARN the feature `const_generics` is incomplete
5
6 #[derive(Debug)]
7 struct S<const N: usize>;
8
9 fn main() {
10     assert_eq!(std::any::type_name::<S<3>>(), "const_generic_type_name::S<3>");
11 }