1 // SPDX-License-Identifier: Apache-2.0 OR MIT 2 3 // The subset of Span's API stabilized in Rust 1.88. 4 5 extern crate proc_macro; 6 7 use proc_macro::Span; 8 start(this: &Span) -> Span9pub fn start(this: &Span) -> Span { 10 this.start() 11 } 12 end(this: &Span) -> Span13pub fn end(this: &Span) -> Span { 14 this.end() 15 } 16 line(this: &Span) -> usize17pub fn line(this: &Span) -> usize { 18 this.line() 19 } 20 column(this: &Span) -> usize21pub fn column(this: &Span) -> usize { 22 this.column() 23 } 24