diff options
| author | bors <bors@rust-lang.org> | 2025-05-13 09:54:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-05-13 09:54:28 +0000 |
| commit | 4eca99a18eab3d4e28ed1ce3ee620d442955a470 (patch) | |
| tree | c1cededa300478e23f6065a9fe8df8a3c14563ca /compiler/rustc_fluent_macro | |
| parent | f6b5da71ea5cc0643906e38178d54483a9bbf1bf (diff) | |
| parent | 8ce7783c7cfff1f60134a7754db32ea86855dd89 (diff) | |
| download | rust-4eca99a18eab3d4e28ed1ce3ee620d442955a470.tar.gz rust-4eca99a18eab3d4e28ed1ce3ee620d442955a470.zip | |
Auto merge of #140887 - pietroalbini:pa-bootstrap-update, r=compiler-errors
Stage0 bootstrap update This PR [follows the release process](https://forge.rust-lang.org/release/process.html#master-bootstrap-update-tuesday) to update the stage0 compiler. The only thing of note is https://github.com/rust-lang/rust/commit/58651d1b316e268fac2100c3ae37bb502a36b8ba, which was flagged by clippy as a correctness fix. I think allowing that lint in our case makes sense, but it's worth to have a second pair of eyes on it. r? `@Mark-Simulacrum`
Diffstat (limited to 'compiler/rustc_fluent_macro')
| -rw-r--r-- | compiler/rustc_fluent_macro/src/fluent.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_fluent_macro/src/fluent.rs b/compiler/rustc_fluent_macro/src/fluent.rs index c96bb48a036..d58c70674f6 100644 --- a/compiler/rustc_fluent_macro/src/fluent.rs +++ b/compiler/rustc_fluent_macro/src/fluent.rs @@ -25,9 +25,6 @@ fn invocation_relative_path_to_absolute(span: Span, path: &str) -> PathBuf { path.to_path_buf() } else { // `/a/b/c/foo/bar.rs` contains the current macro invocation - #[cfg(bootstrap)] - let mut source_file_path = span.source_file().path(); - #[cfg(not(bootstrap))] let mut source_file_path = span.local_file().unwrap(); // `/a/b/c/foo/` source_file_path.pop(); |
