diff options
| author | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-07-23 23:17:54 +0800 |
|---|---|---|
| committer | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-07-24 23:46:39 +0800 |
| commit | 60d69804bacb47875bb691ffc97b25e92f0b98fd (patch) | |
| tree | 5658519282fc9896052acabb52fb74d074bd896c /compiler/rustc_span/src/lib.rs | |
| parent | 460259d14de0274b97b8801e08cb2fe5f16fdac5 (diff) | |
| download | rust-60d69804bacb47875bb691ffc97b25e92f0b98fd.tar.gz rust-60d69804bacb47875bb691ffc97b25e92f0b98fd.zip | |
Inline some methods in rustc_span hygiene
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Diffstat (limited to 'compiler/rustc_span/src/lib.rs')
| -rw-r--r-- | compiler/rustc_span/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/lib.rs b/compiler/rustc_span/src/lib.rs index 9b0e009b2cd..dbc67da37b5 100644 --- a/compiler/rustc_span/src/lib.rs +++ b/compiler/rustc_span/src/lib.rs @@ -167,6 +167,7 @@ where } } +#[inline] pub fn with_session_globals<R, F>(f: F) -> R where F: FnOnce(&SessionGlobals) -> R, |
