Skip to content

Commit 52e193f

Browse files
committed
Force nightly channel for tests that use edition 2024
1 parent 7ee06e9 commit 52e193f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/base/orchestrator/src/coordinator.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,8 @@ mod tests {
16641664
code: code.into(),
16651665
edition,
16661666
crate_type: CrateType::Library(LibraryType::Lib),
1667-
..new_execute_request()
1667+
channel: Channel::Nightly, // To allow 2024 while it is unstable
1668+
..ARBITRARY_EXECUTE_REQUEST
16681669
};
16691670
let response = coordinator.execute(request).await.unwrap();
16701671

@@ -2026,6 +2027,7 @@ mod tests {
20262027
let req = CompileRequest {
20272028
edition,
20282029
code: SUBTRACT_CODE.into(),
2030+
channel: Channel::Nightly, // To allow 2024 while it is unstable
20292031
..ARBITRARY_HIR_REQUEST
20302032
};
20312033

0 commit comments

Comments
 (0)