@@ -280,8 +280,7 @@ impl RealFileName {
280280}
281281
282282/// Differentiates between real files and common virtual files.
283- #[ derive( Debug , Eq , PartialEq , Clone , Ord , PartialOrd , Hash ) ]
284- #[ derive( Decodable , Encodable ) ]
283+ #[ derive( Debug , Eq , PartialEq , Clone , Ord , PartialOrd , Hash , Decodable , Encodable ) ]
285284pub enum FileName {
286285 Real ( RealFileName ) ,
287286 /// Call to `quote!`.
@@ -292,8 +291,6 @@ pub enum FileName {
292291 // FIXME(jseyfried)
293292 MacroExpansion ( Hash64 ) ,
294293 ProcMacroSourceCode ( Hash64 ) ,
295- /// Strings provided as `--cfg [cfgspec]` stored in a `crate_cfg`.
296- CfgSpec ( Hash64 ) ,
297294 /// Strings provided as crate attributes in the CLI.
298295 CliCrateAttr ( Hash64 ) ,
299296 /// Custom sources for explicit parser calls from plugins and drivers.
@@ -339,7 +336,6 @@ impl fmt::Display for FileNameDisplay<'_> {
339336 MacroExpansion ( _) => write ! ( fmt, "<macro expansion>" ) ,
340337 Anon ( _) => write ! ( fmt, "<anon>" ) ,
341338 ProcMacroSourceCode ( _) => write ! ( fmt, "<proc-macro source code>" ) ,
342- CfgSpec ( _) => write ! ( fmt, "<cfgspec>" ) ,
343339 CliCrateAttr ( _) => write ! ( fmt, "<crate attribute>" ) ,
344340 Custom ( ref s) => write ! ( fmt, "<{s}>" ) ,
345341 DocTest ( ref path, _) => write ! ( fmt, "{}" , path. display( ) ) ,
@@ -365,7 +361,6 @@ impl FileName {
365361 Anon ( _)
366362 | MacroExpansion ( _)
367363 | ProcMacroSourceCode ( _)
368- | CfgSpec ( _)
369364 | CliCrateAttr ( _)
370365 | Custom ( _)
371366 | QuoteExpansion ( _)
0 commit comments