proof of concept add test type on prints
This commit is contained in:
parent
89ebad52a8
commit
347ed001e8
32 changed files with 187 additions and 45 deletions
|
@ -254,6 +254,10 @@ pub fn expand_test_or_bench(
|
|||
"allow_fail",
|
||||
cx.expr_bool(sp, should_fail(&cx.sess, &item)),
|
||||
),
|
||||
// compile_fail: true | false
|
||||
field("compile_fail", cx.expr_bool(sp, false)),
|
||||
// no_run: true | false
|
||||
field("no_run", cx.expr_bool(sp, false)),
|
||||
// should_panic: ...
|
||||
field(
|
||||
"should_panic",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue