diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-10-28 01:21:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 01:21:27 +0100 |
| commit | c3f842baee8c480faa1e6ca0741d131a0663a92d (patch) | |
| tree | db5bbad6314ecb5587dc7c35216869dc75866f7b /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 892ebe9afe9d299a5ff22b9dec1a84a653b85f78 (diff) | |
| parent | 23c4a46efffebec56648d1b87204466acf1eb15f (diff) | |
| download | rust-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
