make spec infra more ergonomic
Signed-off-by: Onur Özkan <work@onurozkan.dev>
This commit is contained in:
1 parent
b0a7a9bb03
commit
85559bd2d5
20 files changed
+74
-123
No files matched your search
@@ -0,0 +1,7 @@
|
||||
error: no-spec explanation must not be empty; use no_spec!("reason");
|
||||
--> tests/ui/fail_empty_explanation.rs:3:1
|
||||
|
|
||||
3 | no_spec!(" ");
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this error originates in the macro `no_spec` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
Reference in new issue
Block a user