We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38c522c commit 0b7dda9Copy full SHA for 0b7dda9
compiler/rustc_type_ir/src/lib.rs
@@ -28,7 +28,7 @@ pub use ty_info::*;
28
/// Needed so we can use #[derive(HashStable_Generic)]
29
pub trait HashStableContext {}
30
31
-pub trait Interner {
+pub trait Interner: Sized {
32
type AdtDef: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
33
type SubstsRef: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
34
type DefId: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
0 commit comments