Skip to content

Commit 364055a

Browse files
committed
Fix pretty print
1 parent 4aaa3ea commit 364055a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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 feature"), // TODO: fix this later
3253+
ty::ClauseKind::UnstableFeature(symbol) => p!("unstable feature: ", write("`{}`", symbol)),
32543254
}
32553255
}
32563256

0 commit comments

Comments
 (0)