@@ -2787,7 +2787,6 @@ fn parse_pretty(early_dcx: &EarlyDiagCtxt, unstable_opts: &UnstableOptions) -> O
27872787
27882788 let first = match unstable_opts. unpretty . as_deref ( ) ? {
27892789 "normal" => Source ( PpSourceMode :: Normal ) ,
2790- "identified" => Source ( PpSourceMode :: Identified ) ,
27912790 "expanded" => Source ( PpSourceMode :: Expanded ) ,
27922791 "expanded,identified" => Source ( PpSourceMode :: ExpandedIdentified ) ,
27932792 "expanded,hygiene" => Source ( PpSourceMode :: ExpandedHygiene ) ,
@@ -2803,7 +2802,7 @@ fn parse_pretty(early_dcx: &EarlyDiagCtxt, unstable_opts: &UnstableOptions) -> O
28032802 "stable-mir" => StableMir ,
28042803 "mir-cfg" => MirCFG ,
28052804 name => early_dcx. early_fatal ( format ! (
2806- "argument to `unpretty` must be one of `normal`, `identified`, \
2805+ "argument to `unpretty` must be one of `normal`, \
28072806 `expanded`, `expanded,identified`, `expanded,hygiene`, \
28082807 `ast-tree`, `ast-tree,expanded`, `hir`, `hir,identified`, \
28092808 `hir,typed`, `hir-tree`, `thir-tree`, `thir-flat`, `mir`, `stable-mir`, or \
@@ -2933,8 +2932,6 @@ pub enum PpSourceMode {
29332932 Normal ,
29342933 /// `-Zunpretty=expanded`
29352934 Expanded ,
2936- /// `-Zunpretty=identified`
2937- Identified ,
29382935 /// `-Zunpretty=expanded,identified`
29392936 ExpandedIdentified ,
29402937 /// `-Zunpretty=expanded,hygiene`
@@ -2982,7 +2979,7 @@ impl PpMode {
29822979 use PpMode :: * ;
29832980 use PpSourceMode :: * ;
29842981 match * self {
2985- Source ( Normal | Identified ) | AstTree => false ,
2982+ Source ( Normal ) | AstTree => false ,
29862983
29872984 Source ( Expanded | ExpandedIdentified | ExpandedHygiene )
29882985 | AstTreeExpanded
0 commit comments