@@ -280,8 +280,7 @@ impl RealFileName {
280
280
}
281
281
282
282
/// 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 ) ]
285
284
pub enum FileName {
286
285
Real ( RealFileName ) ,
287
286
/// Call to `quote!`.
@@ -292,8 +291,6 @@ pub enum FileName {
292
291
// FIXME(jseyfried)
293
292
MacroExpansion ( Hash64 ) ,
294
293
ProcMacroSourceCode ( Hash64 ) ,
295
- /// Strings provided as `--cfg [cfgspec]` stored in a `crate_cfg`.
296
- CfgSpec ( Hash64 ) ,
297
294
/// Strings provided as crate attributes in the CLI.
298
295
CliCrateAttr ( Hash64 ) ,
299
296
/// Custom sources for explicit parser calls from plugins and drivers.
@@ -339,7 +336,6 @@ impl fmt::Display for FileNameDisplay<'_> {
339
336
MacroExpansion ( _) => write ! ( fmt, "<macro expansion>" ) ,
340
337
Anon ( _) => write ! ( fmt, "<anon>" ) ,
341
338
ProcMacroSourceCode ( _) => write ! ( fmt, "<proc-macro source code>" ) ,
342
- CfgSpec ( _) => write ! ( fmt, "<cfgspec>" ) ,
343
339
CliCrateAttr ( _) => write ! ( fmt, "<crate attribute>" ) ,
344
340
Custom ( ref s) => write ! ( fmt, "<{s}>" ) ,
345
341
DocTest ( ref path, _) => write ! ( fmt, "{}" , path. display( ) ) ,
@@ -365,7 +361,6 @@ impl FileName {
365
361
Anon ( _)
366
362
| MacroExpansion ( _)
367
363
| ProcMacroSourceCode ( _)
368
- | CfgSpec ( _)
369
364
| CliCrateAttr ( _)
370
365
| Custom ( _)
371
366
| QuoteExpansion ( _)
0 commit comments