Skip to content

Commit c2afab4

Browse files
committed
Clean up more
1 parent 9a0f289 commit c2afab4

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
@@ -3250,7 +3250,7 @@ define_print! {
32503250
ty::ClauseKind::ConstEvaluatable(ct) => {
32513251
p!("the constant `", print(ct), "` can be evaluated")
32523252
}
3253-
ty::ClauseKind::UnstableFeature(_) => p!("unstable impl"), // TODO: fix this later
3253+
ty::ClauseKind::UnstableFeature(_) => p!("unstable feature"), // TODO: fix this later
32543254
}
32553255
}
32563256

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)