aboutsummaryrefslogtreecommitdiff
path: root/tests/compiletest.rs
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-02-09 17:42:22 -0800
committerThiƩbaud Weksteen <tweek@google.com>2021-02-23 14:15:28 +0000
commitc1311073c0eab8a9f0566dbe0753f80865912a01 (patch)
treeaa583765ea0c0fd8bddb46d99bb04eae1334edd3 /tests/compiletest.rs
parentec01bc83d1b6780ca097d8de43908ed4be296222 (diff)
downloadpin-project-c1311073c0eab8a9f0566dbe0753f80865912a01.tar.gz
Upgrade rust/crates/pin-project to 1.0.5
Test: make Change-Id: Ib3aa891d12640b626e328863102306eb9f973622
Diffstat (limited to 'tests/compiletest.rs')
-rw-r--r--tests/compiletest.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/compiletest.rs b/tests/compiletest.rs
index 85b1db8..e3d713a 100644
--- a/tests/compiletest.rs
+++ b/tests/compiletest.rs
@@ -3,8 +3,7 @@
use std::env;
-// Run `./dev.sh +$toolchain test --test compiletest` to update this.
-#[rustversion::attr(before(2020-11-25), ignore)] // Note: This date is commit-date and the day before the toolchain date.
+#[rustversion::attr(before(2021-01-08), ignore)] // Note: This date is commit-date and the day before the toolchain date.
#[test]
fn ui() {
if env::var_os("CI").is_none() {
@@ -12,10 +11,5 @@ fn ui() {
}
let t = trybuild::TestCases::new();
- t.compile_fail("tests/ui/cfg/*.rs");
- t.compile_fail("tests/ui/not_unpin/*.rs");
- t.compile_fail("tests/ui/pin_project/*.rs");
- t.compile_fail("tests/ui/pinned_drop/*.rs");
- t.compile_fail("tests/ui/unsafe_unpin/*.rs");
- t.compile_fail("tests/ui/unstable-features/*.rs");
+ t.compile_fail("tests/ui/*/*.rs");
}