]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #89090 - cjgillot:bare-dyn, r=jackh726
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 18 Dec 2021 07:16:26 +0000 (08:16 +0100)
committerGitHub <noreply@github.com>
Sat, 18 Dec 2021 07:16:26 +0000 (08:16 +0100)
commit7a626cf7ce908a1c210cc91a043c4c4a23d42b62
treefd9ed91ad999c74c2ea5aebf82ef2c0fc4e5b659
parent54e7946d0fde56ea25b331df8d971bed0d232cac
parent6fcbc3a3238ac6f914b788fc49876a0becd31969
Rollup merge of #89090 - cjgillot:bare-dyn, r=jackh726

Lint bare traits in AstConv.

Removing the lint from lowering allows to:
- make lowering querification easier;
- have the lint implementation in only one place.

r? `@estebank`
compiler/rustc_ast_lowering/src/lib.rs
compiler/rustc_lint/src/context.rs
compiler/rustc_lint_defs/src/lib.rs
compiler/rustc_typeck/src/astconv/mod.rs
compiler/rustc_typeck/src/check/fn_ctxt/_impl.rs