Skip to content

Commit

Permalink
Merge pull request #1413 from Inkvisto/willbe_former
Browse files Browse the repository at this point in the history
READY: (willbe) former warnings fixes
  • Loading branch information
Wandalen authored Jul 23, 2024
2 parents 8edbf08 + b278ec6 commit 3f09028
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 24 deletions.
10 changes: 1 addition & 9 deletions module/core/former/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,7 @@ default = [
"types_component_assign",
]
full = [
"enabled",
"derive_former",
"derive_components",
"derive_component_from",
"derive_component_assign",
"derive_components_assign",
"derive_from_components",
"types_former",
"types_component_assign",
"default",
]
enabled = [ "former_meta/enabled", "former_types/enabled" ]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
error: Unknown field attribute #[defaultx(31)]
--> tests/inc/former_tests/compiletime/field_attr_bad.rs:6:3
|
6 | #[ defaultx( 31 ) ]
| ^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `defaultx` in this scope
--> tests/inc/former_tests/compiletime/field_attr_bad.rs:6:6
|
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
error: Known structure attirbutes are : `storage_fields`, `perform`, `debug`.
Unknown structure attribute : #[defaultx]
--> tests/inc/former_tests/compiletime/struct_attr_bad.rs:4:1
|
4 | #[ defaultx ]
| ^^^^^^^^^^^^^

error: cannot find attribute `defaultx` in this scope
--> tests/inc/former_tests/compiletime/struct_attr_bad.rs:4:4
|
Expand Down
2 changes: 0 additions & 2 deletions module/core/former/tests/inc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ only_for_terminal_module!
fn former_trybuild()
{

assert!( false );

println!( "current_dir : {:?}", std::env::current_dir().unwrap() );
let t = test_tools::compiletime::TestCases::new();

Expand Down

0 comments on commit 3f09028

Please sign in to comment.