mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 01:07:56 +00:00
Place compile-fail expected errors on their own line
This commit is contained in:
@@ -9,8 +9,9 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Deserialize)] //~ ERROR: 12:10: 12:21: cannot deserialize a dynamically sized struct
|
||||
#[derive(Deserialize)]
|
||||
struct S {
|
||||
string: String,
|
||||
slice: [u8],
|
||||
//~^^^^ ERROR: cannot deserialize a dynamically sized struct
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user