about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-06-04 13:43:02 +0900
committerGitHub <noreply@github.com>2021-06-04 13:43:02 +0900
commit0a124319625b4415fc8ca567b9ad07fa190658c8 (patch)
tree178679ac6436536c1f7cb9da7f3e70a1b14682e5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent99fc56b9dedc18e13942e06c1b964cf93cf5a6e7 (diff)
parente3b19e5c25d2de305939a5cc73dcbdf3ae64bd94 (diff)
downloadrust-0a124319625b4415fc8ca567b9ad07fa190658c8.tar.gz
rust-0a124319625b4415fc8ca567b9ad07fa190658c8.zip
Rollup merge of #85963 - m-ou-se:constructor-type-name, r=yaahc
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``
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions