mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +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`` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |