error: #[construct_with] must have at least one argument --> tests/compile-fail/construct-with-errors.rs:20:7 | 20 | #[construct_with()] //~ ERROR #[construct_with] must have at least one argument | ^^^^^^^^^^^^^^ error: unexpected literal in nested attribute, expected ident --> tests/compile-fail/construct-with-errors.rs:28:22 | 28 | #[construct_with("test")] //~ ERROR #[construct_with] should be of the form #[construct_with()] | ^^^^^^ error: #[construct_with] should be of the form #[construct_with()] --> tests/compile-fail/construct-with-errors.rs:28:7 | 28 | #[construct_with("test")] //~ ERROR #[construct_with] should be of the form #[construct_with()] | ^^^^^^^^^^^^^^ error: expected ident --> tests/compile-fail/construct-with-errors.rs:36:24 | 36 | #[construct_with(::foo:bar)] //~ ERROR #[construct_with] should be of the form #[construct_with()] | ^^^ error: #[construct_with] should be of the form #[construct_with()] --> tests/compile-fail/construct-with-errors.rs:36:7 | 36 | #[construct_with(::foo:bar)] //~ ERROR #[construct_with] should be of the form #[construct_with()] | ^^^^^^^^^^^^^^ error: expected `,` --> tests/compile-fail/construct-with-errors.rs:44:25 | 44 | #[construct_with(Vec)] //~ ERROR #[construct_with] should be of the form #[construct_with()] | ^ error: #[construct_with] should be of the form #[construct_with()] --> tests/compile-fail/construct-with-errors.rs:44:7 | 44 | #[construct_with(Vec)] //~ ERROR #[construct_with] should be of the form #[construct_with()] | ^^^^^^^^^^^^^^ error: arguments to #[construct_with] must be primitives --> tests/compile-fail/construct-with-errors.rs:52:5 | 52 | #[construct_with(test)] //~ ERROR arguments to #[construct_with] must be primitives | ^