Debian Codegraph @

.cargo/vendor/proc-macro2/src/probe/proc_macro_span_file.rs

raw
1 // The subset of Span's API stabilized in Rust 1.88.
2
3 extern crate proc_macro;
4
5 use proc_macro::Span;
6 use std::path::PathBuf;
7
8 pub fn file(this: &Span) -> String {
9 this.file()
10 }
11
12 pub fn local_file(this: &Span) -> Option<PathBuf> {
13 this.local_file()
14 }