Skip to main content

Module deref_into_dyn_supertrait

Module deref_into_dyn_supertrait 

Source

Re-exportsยง

use rustc_attr_ir::lang_items::LangItem; ๐Ÿ”’
use rustc_hir as hir; ๐Ÿ”’
use rustc_lint_defs::declare_lint; ๐Ÿ”’
use rustc_lint_defs::declare_lint_pass; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use rustc_span::Ident; ๐Ÿ”’
use rustc_span::sym; ๐Ÿ”’
use rustc_trait_selection::traits::supertraits; ๐Ÿ”’
use crate::diagnostics::SupertraitAsDerefTarget; ๐Ÿ”’
use crate::diagnostics::SupertraitAsDerefTargetLabel; ๐Ÿ”’
use crate::LateContext; ๐Ÿ”’
use crate::LateLintPass; ๐Ÿ”’
use crate::LintContext; ๐Ÿ”’

Structsยง

DerefIntoDynSupertrait

Staticsยง

DEREF_INTO_DYN_SUPERTRAIT
The deref_into_dyn_supertrait lint is emitted whenever there is a Deref implementation for dyn SubTrait with a dyn SuperTrait type as the Output type.