]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #91281 - scottmcm:non-exhaustive-as-test, r=Mark-Simulacrum
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 29 Nov 2021 09:41:34 +0000 (10:41 +0100)
committerGitHub <noreply@github.com>
Mon, 29 Nov 2021 09:41:34 +0000 (10:41 +0100)
commita2f924a255f472953389e9009321f2e3805afe2c
tree1210c94d594c35a6c67500b3b925bf901d01f8f7
parent80277dcc4f39c7142c7217543b083ed6fd9919e8
parent50619f568a250750fcb6bea271ccfd8fdc0926bf
Rollup merge of #91281 - scottmcm:non-exhaustive-as-test, r=Mark-Simulacrum

Add demonstration test for #91161

Since cross-crate things are hard to demonstrate in playground, here's a test showing that something currently works that shouldn't.

cc https://github.com/rust-lang/rust/issues/91161 that tracks fixing the problem (and updating this test)