From cd067503a7546eaee904a9b5c6ae30eb0175d376 Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Mon, 8 Nov 2021 18:06:56 +0000 Subject: [rust] Macros --- rust/macros/tests/invalid/Cargo.toml | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 rust/macros/tests/invalid/Cargo.toml (limited to 'rust/macros/tests/invalid/Cargo.toml') diff --git a/rust/macros/tests/invalid/Cargo.toml b/rust/macros/tests/invalid/Cargo.toml new file mode 100644 index 0000000..b096d99 --- /dev/null +++ b/rust/macros/tests/invalid/Cargo.toml @@ -0,0 +1,55 @@ +# +# This Cargo.toml file is used by the simple-trybuild module. +# When adding a new file, please name the [[bin]] name to match the file +# it is used to produce an error message +# + +[package] +name = "macros-tests" +version = "0.0.0" +edition = "2018" +publish = false + +[dependencies.macros] +path = "../../" +default-features = false + +[[bin]] +name = "comma-sep-rs" +path = "comma-sep.rs" + +[[bin]] +name = "double-commas-rs" +path = "double-commas.rs" + +[[bin]] +name = "only-arrow-rs" +path = "only-arrow.rs" + +[[bin]] +name = "only-comma-rs" +path = "only-comma.rs" + +[[bin]] +name = "single-argument-rs" +path = "single-argument.rs" + +[[bin]] +name = "triple-arguments-rs" +path = "triple-arguments.rs" + +[[bin]] +name = "two-arrows-rs" +path = "two-arrows.rs" + +[[bin]] +name = "leading-comma-rs" +path = "leading-comma.rs" + +[[bin]] +name = "no-comma-rs" +path = "no-comma.rs" + +[[bin]] +name = "missing-argument-rs" +path = "missing-argument.rs" -- cgit v1.2.3