diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-05 19:19:56 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-08 23:06:31 +0300 |
| commit | b3f75353a237f3623483c1e237be480140a8c3e1 (patch) | |
| tree | a769f4d38cf7d807a27d8685f26d77db3b0b5f91 /tests/ui/proc-macro/issue-50493.rs | |
| parent | d4f880f8ce832cd7560bb2f1ebc34f967055ffd7 (diff) | |
| download | rust-b3f75353a237f3623483c1e237be480140a8c3e1.tar.gz rust-b3f75353a237f3623483c1e237be480140a8c3e1.zip | |
UI tests: add missing diagnostic kinds where possible
Diffstat (limited to 'tests/ui/proc-macro/issue-50493.rs')
| -rw-r--r-- | tests/ui/proc-macro/issue-50493.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/proc-macro/issue-50493.rs b/tests/ui/proc-macro/issue-50493.rs index e23f1f7c7d8..4a88eee2185 100644 --- a/tests/ui/proc-macro/issue-50493.rs +++ b/tests/ui/proc-macro/issue-50493.rs @@ -5,7 +5,7 @@ extern crate issue_50493; #[derive(Derive)] struct Restricted { - pub(in restricted) field: usize, //~ visibilities can only be restricted to ancestor modules + pub(in restricted) field: usize, //~ ERROR visibilities can only be restricted to ancestor modules } mod restricted {} |
