chore: test Type::of on unsized types

I chose to simply extend `dump.rs`, rather than create a new UI test.
This commit is contained in:
BD103 2026-01-12 14:43:21 -05:00
parent b57c249333
commit 1bde2f4705
2 changed files with 4 additions and 0 deletions

View file

@ -27,4 +27,6 @@ fn main() {
println!("{:#?}", const { Type::of::<&Unsized>() }.kind);
println!("{:#?}", const { Type::of::<&str>() }.kind);
println!("{:#?}", const { Type::of::<&[u8]>() }.kind);
println!("{:#?}", const { Type::of::<str>() }.kind);
println!("{:#?}", const { Type::of::<[u8]>() }.kind);
}

View file

@ -21,3 +21,5 @@ Other
Other
Other
Other
Other
Other