We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46b9ed4 commit c963596Copy full SHA for c963596
src/librustc/ty/print/pretty.rs
@@ -823,7 +823,7 @@ pub trait PrettyPrinter<'gcx: 'tcx, 'tcx>:
823
match self.tcx().def_kind(did) {
824
| Some(DefKind::Static)
825
| Some(DefKind::Const)
826
- | Some(DefKind::AssociatedConst) => p!(print_value_path(did, substs)),
+ | Some(DefKind::AssocConst) => p!(print_value_path(did, substs)),
827
_ => if did.is_local() {
828
let span = self.tcx().def_span(did);
829
if let Ok(snip) = self.tcx().sess.source_map().span_to_snippet(span) {
0 commit comments