about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-05 07:30:19 +0000
committerbors <bors@rust-lang.org>2018-09-05 07:30:19 +0000
commit3f13b27c2b6a1f83ee08a87c6134c86526edffc0 (patch)
tree851bd551452a99115a72773b871f0d0f1433fcc4 /src/libsyntax/parse
parent0be2c303692cab31390e52701007cfa87867bf74 (diff)
parent0593dc7e3c9783f1c0bbbc8f017f9e914114e057 (diff)
downloadrust-3f13b27c2b6a1f83ee08a87c6134c86526edffc0.tar.gz
rust-3f13b27c2b6a1f83ee08a87c6134c86526edffc0.zip
Auto merge of #53410 - djrenren:custom-test-frameworks, r=alexcrichton
Introduce Custom Test Frameworks

Introduces `#[test_case]` and `#[test_runner]` and re-implements `#[test]` and `#[bench]` in terms of them.

Details found here: https://blog.jrenner.net/rust/testing/2018/08/06/custom-test-framework-prop.html
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 3862877c3d9..5f80af77f49 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -6272,7 +6272,6 @@ impl<'a> Parser<'a> {
         let (in_cfg, outer_attrs) = {
             let mut strip_unconfigured = ::config::StripUnconfigured {
                 sess: self.sess,
-                should_test: false, // irrelevant
                 features: None, // don't perform gated feature checking
             };
             let outer_attrs = strip_unconfigured.process_cfg_attrs(outer_attrs.to_owned());