1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-11 14:25:57 +03:00

allow some unused fields

I want these for the future, and they are harmless now
This commit is contained in:
Wez Furlong 2024-07-14 07:49:35 -07:00
parent 5b0642d2dc
commit 209d13bd6b
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
3 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,7 @@ use syn::{
Result, Type,
};
#[allow(unused)]
pub struct ContainerInfo {
pub into: Option<Path>,
pub try_from: Option<Path>,
@ -67,6 +68,7 @@ pub enum DefValue {
Path(Path),
}
#[allow(unused)]
pub struct FieldInfo<'a> {
pub field: &'a Field,
pub type_name: String,

View File

@ -507,6 +507,7 @@ pub enum PaintOp {
},
PopTransform,
PushGlyphClip {
#[allow(unused)]
glyph: hb_codepoint_t,
draw: Vec<DrawOp>,
},
@ -518,12 +519,15 @@ pub enum PaintOp {
},
PopClip,
PaintSolid {
#[allow(unused)]
is_foreground: bool,
color: hb_color_t,
},
PaintImage {
image: Blob,
#[allow(unused)]
width: u32,
#[allow(unused)]
height: u32,
format: hb_tag_t,
slant: f32,

View File

@ -38,6 +38,7 @@ struct Entry {
pub struct LauncherTabEntry {
pub title: String,
pub tab_id: TabId,
#[allow(unused)]
pub tab_idx: usize,
pub pane_count: Option<usize>,
}