1
Fork 0

Remove unused code from rustc_span

This commit is contained in:
est31 2020-10-09 11:23:24 +02:00
parent 338fad2162
commit 58b3923ad3
3 changed files with 0 additions and 23 deletions

View file

@ -223,12 +223,6 @@ impl FileName {
}
}
pub fn quote_expansion_source_code(src: &str) -> FileName {
let mut hasher = StableHasher::new();
src.hash(&mut hasher);
FileName::QuoteExpansion(hasher.finish())
}
pub fn macro_expansion_source_code(src: &str) -> FileName {
let mut hasher = StableHasher::new();
src.hash(&mut hasher);