proof of concept add test type on prints

This commit is contained in:
Aliénore Bouttefeux 2021-05-03 14:55:22 +02:00
parent 89ebad52a8
commit 347ed001e8
32 changed files with 187 additions and 45 deletions

View file

@ -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",