]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #89461 - crlf0710:dyn_upcasting_lint, r=nikomatsakis
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 7 Oct 2021 14:24:49 +0000 (16:24 +0200)
committerGitHub <noreply@github.com>
Thu, 7 Oct 2021 14:24:49 +0000 (16:24 +0200)
commitab276b82b020b5c68d4246641203faba6295dc69
tree4e2fbe7e68dddd33da1cc65ffd314f58ee8484bf
parent1584b6a796098074208423418e4f12e03d778f3e
parent250d1260e6b45b82a07e5f7b28afe983d21fdef3
Rollup merge of #89461 - crlf0710:dyn_upcasting_lint, r=nikomatsakis

Add `deref_into_dyn_supertrait` lint.

Initial implementation of #89460. Resolves #89190.
Maybe also worth a beta backport if necessary.

r? `@nikomatsakis`
Cargo.lock
compiler/rustc_lint_defs/src/builtin.rs
compiler/rustc_trait_selection/Cargo.toml