From 5c9c97c0ce5c63cdb09947ad8abcacb52aba9bc3 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 25 Mar 2018 12:33:50 +0200 Subject: [PATCH] Remove test that fails to parse flatten attribute --- .../enum-representation/flatten-enum.rs | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 test_suite/tests/compile-fail/enum-representation/flatten-enum.rs diff --git a/test_suite/tests/compile-fail/enum-representation/flatten-enum.rs b/test_suite/tests/compile-fail/enum-representation/flatten-enum.rs deleted file mode 100644 index 8444860f..00000000 --- a/test_suite/tests/compile-fail/enum-representation/flatten-enum.rs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2018 Serde Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -#[macro_use] -extern crate serde_derive; - -#[derive(Serialize)] //~ ERROR: proc-macro derive panicked -//~^ HELP: unknown serde variant attribute `flatten` -enum Foo { - #[serde(flatten)] - Foo { - x: u32, - } -} - -fn main() {}