Deny warnings in CI

This commit is contained in:
Victor Berger 2021-07-25 08:45:55 +02:00 committed by Victor Berger
parent 782b21f363
commit 5524f1f6bd
2 changed files with 6 additions and 2 deletions

View File

@ -30,6 +30,9 @@ jobs:
- default
- all
env:
RUSTFLAGS: "-D warnings"
runs-on: ubuntu-latest
steps:

View File

@ -26,7 +26,7 @@ use crate::backend::egl::{
EGLContext, EGLSurface, MakeCurrentError,
};
use crate::backend::SwapBuffersError;
use crate::utils::{Physical, Size};
use crate::utils::{Buffer, Physical, Size};
#[cfg(all(feature = "wayland_frontend", feature = "use_system_lib"))]
use super::ImportEgl;
@ -34,7 +34,8 @@ use super::ImportEgl;
use super::{ImportDma, ImportShm};
#[cfg(all(feature = "wayland_frontend", feature = "use_system_lib"))]
use crate::backend::egl::{display::EGLBufferReader, Format as EGLFormat};
use crate::utils::{Buffer, Rectangle};
#[cfg(feature = "wayland_frontend")]
use crate::utils::Rectangle;
#[cfg(feature = "wayland_frontend")]
use wayland_server::protocol::{wl_buffer, wl_shm};