mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-24 14:34:23 +00:00
0a12431962
Show `::{{constructor}}` in std::any::type_name(). Fix #84666 Before: ``` [src/main.rs:6] type_name::<T>() = "playground::Velocity" [src/main.rs:6] type_name::<T>() = "playground::Velocity" ``` After: ``` [src/main.rs:6] type_name::<T>() = "scratchpad::Velocity::{{constructor}}" [src/main.rs:6] type_name::<T>() = "scratchpad::Velocity" ``` cc ``@scottmcm`` |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |