diff options
Diffstat (limited to 'tests/ui/diagnostic_namespace/requires_path.rs')
| -rw-r--r-- | tests/ui/diagnostic_namespace/requires_path.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/diagnostic_namespace/requires_path.rs b/tests/ui/diagnostic_namespace/requires_path.rs new file mode 100644 index 00000000000..e8d6ca73ad0 --- /dev/null +++ b/tests/ui/diagnostic_namespace/requires_path.rs @@ -0,0 +1,9 @@ +#![feature(diagnostic_namespace)] + +#[diagnostic] +//~^ERROR cannot find attribute `diagnostic` in this scope +pub struct Bar; + + +fn main() { +} |
