]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #75910 - bugadani:testcase, r=oli-obk
authorDylan DPC <dylan.dpc@gmail.com>
Sat, 29 Aug 2020 23:43:48 +0000 (01:43 +0200)
committerGitHub <noreply@github.com>
Sat, 29 Aug 2020 23:43:48 +0000 (01:43 +0200)
commitd5b98a74d09e05bad03f08dbd0701330d65919cb
tree14cf4332a22144dbae4fc4a7d8d5d16280c6bc7b
parentfe43918c38ec16d6ef8bd4b4cff515a124a14848
parent046556e94c641d2615bc9f7b11fba7a8573277ce
Rollup merge of #75910 - bugadani:testcase, r=oli-obk

Add test for issue #27130

#27130 seems to be fixed by the llvm 11 update. The issue is marked with needs-test, so here it is. As some historical context, the generated code was fine until 1.38, and remained unoptimized from 1.38 up until the current nightly.

I've also added a pattern matching version that was fine on 1.45.2.