Skip to content

Commit afe2226

Browse files
authored
Rollup merge of #148357 - tshepang:all-editions-work, r=madsmtm
temporary-lifetime-extension.rs test works in all editions
2 parents 844a419 + 61ccd53 commit afe2226

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

tests/ui/lifetimes/temporary-lifetime-extension.edition2024.run.stdout

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui/lifetimes/temporary-lifetime-extension.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212

1313
//@ run-pass
1414
//@ check-run-results
15-
//@ revisions: edition2021 edition2024
16-
//@ [edition2021] edition: 2021
17-
//@ [edition2024] edition: 2024
15+
//@ edition: 2015..
1816

1917
fn temp() -> (String, i32) {
2018
(String::from("Hello"), 1)

0 commit comments

Comments
 (0)