all: set rust edition to 2024
This commit is contained in:
parent
02a18f620b
commit
3338909170
515 changed files with 1225 additions and 1187 deletions
|
|
@ -37,10 +37,11 @@ xkb_keymap {
|
|||
|
||||
ds.kb.press(1);
|
||||
run.sync().await;
|
||||
tassert!(run
|
||||
.cfg
|
||||
.invoked_shortcuts
|
||||
.contains(&(ds.seat.id(), SYM_F13.into())));
|
||||
tassert!(
|
||||
run.cfg
|
||||
.invoked_shortcuts
|
||||
.contains(&(ds.seat.id(), SYM_F13.into()))
|
||||
);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ use {
|
|||
it::{test_error::TestResult, testrun::TestRun},
|
||||
theme::Color,
|
||||
utils::errorfmt::ErrorFmt,
|
||||
video::drm::{sync_obj::SyncObjPoint, wait_for_sync_obj::SyncObjWaiter, DrmError},
|
||||
video::drm::{DrmError, sync_obj::SyncObjPoint, wait_for_sync_obj::SyncObjWaiter},
|
||||
},
|
||||
std::{cell::Cell, rc::Rc},
|
||||
};
|
||||
|
|
@ -24,7 +24,9 @@ async fn test(run: Rc<TestRun>) -> TestResult {
|
|||
|
||||
let eng = run.state.render_ctx.get().unwrap();
|
||||
let Some(ctx) = eng.sync_obj_ctx() else {
|
||||
log::warn!("Cannot test explicit sync on this system: render context does not support sync objects");
|
||||
log::warn!(
|
||||
"Cannot test explicit sync on this system: render context does not support sync objects"
|
||||
);
|
||||
return Ok(());
|
||||
};
|
||||
let syncobj = match ctx.create_sync_obj() {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use {
|
||||
crate::{
|
||||
ifs::wl_seat::{ToplevelSelector, BTN_LEFT},
|
||||
ifs::wl_seat::{BTN_LEFT, ToplevelSelector},
|
||||
it::{test_error::TestResult, testrun::TestRun},
|
||||
tree::{Node, ToplevelNode},
|
||||
utils::clonecell::CloneCell,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue