Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const-generics
/
const-generic-type_name.rs
blob: ff13034f6e5935f52486927c8921a32f9b0f2cb0 [
file
] [
log
] [
blame
]
//@ run-pass
#[
derive
(
Debug
)]
struct
S
<
const
N
:
usize
>;
fn
main
()
{
assert_eq
!(
std
::
any
::
type_name
::<
S
<
3
>>(),
"const_generic_type_name::S<3>"
);
}