]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #100431 - compiler-errors:enum-ctor-variant-stab, r=estebank
authorMichael Goulet <michael@errs.io>
Sun, 14 Aug 2022 04:06:50 +0000 (21:06 -0700)
committerGitHub <noreply@github.com>
Sun, 14 Aug 2022 04:06:50 +0000 (21:06 -0700)
commitd46451ce2c75dd0757916b87eb6522fb3739d6ef
treeca3da9228f8b406fd2de97716df5b57d995742be
parente248c7f9ae1e6604767c9842be58d577e5890a7b
parent6925f4101b426c66abe20e8acdddf8c20fd1e87c
Rollup merge of #100431 - compiler-errors:enum-ctor-variant-stab, r=estebank

Enum variant ctor inherits the stability of the enum variant

Fixes #100399
Fixes #100420

Context #71481 for why enum variants don't need stability
compiler/rustc_passes/src/stability.rs