]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #94252 - lcnr:def_kind-encoding, r=cjgillot
authorMatthias Krüger <matthias.krueger@famsik.de>
Fri, 25 Feb 2022 13:14:37 +0000 (14:14 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Feb 2022 13:14:37 +0000 (14:14 +0100)
don't special case `DefKind::Ctor` in encoding

considering that we still use `DefKind::Ctor` for these in `Res`, this seems weird and definitely felt like a bug when encountering it while working on #89862.

r? `@cjgillot`

1  2 
compiler/rustc_metadata/src/rmeta/encoder.rs