diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2025-04-11 13:47:52 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2025-04-11 14:02:06 +0200 |
| commit | 6788ce76c9f66b836a3b6a72d8b6df32627edecc (patch) | |
| tree | 59e3d8545883fb579414a038c1393b775377ae71 /compiler/rustc_expand | |
| parent | 81d8c747fbdb17775dc4e107ad7e430e61a4e751 (diff) | |
| download | rust-6788ce76c9f66b836a3b6a72d8b6df32627edecc.tar.gz rust-6788ce76c9f66b836a3b6a72d8b6df32627edecc.zip | |
Remove proc_macro::SourceFile::is_real().
Diffstat (limited to 'compiler/rustc_expand')
| -rw-r--r-- | compiler/rustc_expand/src/proc_macro_server.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_expand/src/proc_macro_server.rs b/compiler/rustc_expand/src/proc_macro_server.rs index ee6306e3961..cd4ea8edd6f 100644 --- a/compiler/rustc_expand/src/proc_macro_server.rs +++ b/compiler/rustc_expand/src/proc_macro_server.rs @@ -689,10 +689,6 @@ impl server::SourceFile for Rustc<'_, '_> { _ => file.name.prefer_local().to_string(), } } - - fn is_real(&mut self, file: &Self::SourceFile) -> bool { - file.is_real_file() - } } impl server::Span for Rustc<'_, '_> { |
