Add test for existing bug

This commit is contained in:
Jonathan Brouwer
2026-04-27 09:52:43 +02:00
parent 71ef1fafe0
commit 75fa098069
+13
View File
@@ -16,6 +16,19 @@ fn test()
//~^ ERROR most attributes are not supported in `where` clauses
():,
// == That the doc attributes below don't trigger the error is a bug
#[doc()]
():,
#[doc(5)]
():,
#[doc]
():,
#[doc = 5]
():,
{ }
fn main() {}