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:
parent
b57c249333
commit
1bde2f4705
2 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,3 +21,5 @@ Other
|
|||
Other
|
||||
Other
|
||||
Other
|
||||
Other
|
||||
Other
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue