about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-10-28 01:21:27 +0100
committerGitHub <noreply@github.com>2020-10-28 01:21:27 +0100
commitc3f842baee8c480faa1e6ca0741d131a0663a92d (patch)
treedb5bbad6314ecb5587dc7c35216869dc75866f7b /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent892ebe9afe9d299a5ff22b9dec1a84a653b85f78 (diff)
parent23c4a46efffebec56648d1b87204466acf1eb15f (diff)
downloadrust-c3f842baee8c480faa1e6ca0741d131a0663a92d.tar.gz
rust-c3f842baee8c480faa1e6ca0741d131a0663a92d.zip
Rollup merge of #78391 - JulianKnodt:mc_test, r=lcnr
Add const_fn in generics test

Adds a test that constant functions in generic parameters work properly. I was surprised this works, but I also to turbofish the constant in main, otherwise it didn't infer properly:
```
let v: ConstU32<3> = ...
```
Did not work as I expected, which I can highlight in the test if that's the intended behaviour.

r? @lcnr
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions