From 250a3e482f125e96b37d66d6d87be7b09436be5c Mon Sep 17 00:00:00 2001 From: Theo Date: Thu, 16 Sep 2021 21:00:11 +0200 Subject: Resolve issue 85066 Fix : use struct_dummy Fix different os messages --- src/test/ui/attributes/extented-attribute-macro-error.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/test/ui/attributes/extented-attribute-macro-error.rs (limited to 'src/test/ui/attributes/extented-attribute-macro-error.rs') diff --git a/src/test/ui/attributes/extented-attribute-macro-error.rs b/src/test/ui/attributes/extented-attribute-macro-error.rs new file mode 100644 index 00000000000..f5f75f9f4da --- /dev/null +++ b/src/test/ui/attributes/extented-attribute-macro-error.rs @@ -0,0 +1,8 @@ +// normalize-stderr-test: "couldn't read.*" -> "couldn't read the file" + +#![feature(extended_key_value_attributes)] +#![doc = include_str!("../not_existing_file.md")] +struct Documented {} +//~^^ ERROR couldn't read + +fn main() {} -- cgit 1.4.1-3-g733a5