about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2018-01-24 03:51:02 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2018-01-24 12:07:37 +0100
commit62afc43a84e64b18aff98067c0ea09adfc39b66d (patch)
treec3771cd48ac51fc4240085d15f037ada73fa28a5 /src/test/compile-fail
parentfdecb0564b86f6876124903a05e590e929532039 (diff)
downloadrust-62afc43a84e64b18aff98067c0ea09adfc39b66d.tar.gz
rust-62afc43a84e64b18aff98067c0ea09adfc39b66d.zip
Make use of the implemented red/green algorithm for variance
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/dep-graph-variance-alias.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/dep-graph-variance-alias.rs b/src/test/compile-fail/dep-graph-variance-alias.rs
index 9b621a13fc4..18cfd001804 100644
--- a/src/test/compile-fail/dep-graph-variance-alias.rs
+++ b/src/test/compile-fail/dep-graph-variance-alias.rs
@@ -23,7 +23,7 @@ struct Foo<T> {
     f: T
 }
 
-#[rustc_if_this_changed]
+#[rustc_if_this_changed(Krate)]
 type TypeAlias<T> = Foo<T>;
 
 #[rustc_then_this_would_need(ItemVariances)] //~ ERROR OK