Skip to content

Commit cfe2087

Browse files
committed
Clean up more
1 parent 4df1251 commit cfe2087

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_middle/src/ty/print/pretty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3251,7 +3251,7 @@ define_print! {
32513251
ty::ClauseKind::ConstEvaluatable(ct) => {
32523252
p!("the constant `", print(ct), "` can be evaluated")
32533253
}
3254-
ty::ClauseKind::UnstableFeature(_) => p!("unstable impl"), // TODO: fix this later
3254+
ty::ClauseKind::UnstableFeature(_) => p!("unstable feature"), // TODO: fix this later
32553255
}
32563256
}
32573257

compiler/rustc_type_ir/src/interner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub trait Interner:
100100
type ParamTy: Copy + Debug + Hash + Eq + ParamLike;
101101
type BoundTy: Copy + Debug + Hash + Eq + BoundVarLike<Self>;
102102
type PlaceholderTy: PlaceholderLike;
103-
type Symbol: Copy + Hash + PartialEq + Eq + TypeFoldable<Self> + TypeVisitable<Self>; // TODO: add more trait if we need it, keep it minimal for now.
103+
type Symbol: Copy + Hash + PartialEq + Eq + TypeFoldable<Self> + TypeVisitable<Self>;
104104

105105
// Things stored inside of tys
106106
type ErrorGuaranteed: Copy + Debug + Hash + Eq;

0 commit comments

Comments
 (0)