Skip to content

Commit e304174

Browse files
committed
ctest: add support for skipping more items and prepare for ctest-test port
1 parent a3b2323 commit e304174

File tree

11 files changed

+360
-53
lines changed

11 files changed

+360
-53
lines changed

ctest-next/src/ast/constant.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use crate::BoxStr;
33
/// Represents a constant variable defined in Rust.
44
#[derive(Debug, Clone)]
55
pub struct Const {
6-
#[expect(unused)]
76
pub(crate) public: bool,
87
pub(crate) ident: BoxStr,
98
pub(crate) ty: syn::Type,

ctest-next/src/ast/function.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use crate::{Abi, BoxStr, Parameter};
55
/// This structure is only used for parsing functions in extern blocks.
66
#[derive(Debug, Clone)]
77
pub struct Fn {
8-
#[expect(unused)]
98
pub(crate) public: bool,
109
#[expect(unused)]
1110
pub(crate) abi: Abi,

ctest-next/src/ast/static_variable.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use crate::{Abi, BoxStr};
66
/// as a result it does not have a field for storing the expression.
77
#[derive(Debug, Clone)]
88
pub struct Static {
9-
#[expect(unused)]
109
pub(crate) public: bool,
1110
#[expect(unused)]
1211
pub(crate) abi: Abi,

ctest-next/src/ast/structure.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use crate::{BoxStr, Field};
33
/// Represents a struct defined in Rust.
44
#[derive(Debug, Clone)]
55
pub struct Struct {
6-
#[expect(unused)]
76
pub(crate) public: bool,
87
pub(crate) ident: BoxStr,
98
#[expect(unused)]

ctest-next/src/ast/type_alias.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ use crate::BoxStr;
33
/// Represents a type alias defined in Rust.
44
#[derive(Debug, Clone)]
55
pub struct Type {
6-
#[expect(unused)]
76
pub(crate) public: bool,
87
pub(crate) ident: BoxStr,
8+
#[expect(unused)]
99
pub(crate) ty: syn::Type,
1010
}
1111

0 commit comments

Comments
 (0)