diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-01-25 12:48:58 -0600 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-01-25 13:49:50 -0800 |
| commit | 024e3aaff7decb734c6697c56d15993e99ac848a (patch) | |
| tree | 377adad6e5c60da077c350cc0267d6c0a3792f25 /src/test/compile-fail | |
| parent | 0ee698e4a6bb2aaf49ed37d4dfa6188e5b069ce3 (diff) | |
| parent | 62afc43a84e64b18aff98067c0ea09adfc39b66d (diff) | |
| download | rust-024e3aaff7decb734c6697c56d15993e99ac848a.tar.gz rust-024e3aaff7decb734c6697c56d15993e99ac848a.zip | |
Rollup merge of #47696 - Zoxc:variance-rg, r=nikomatsakis
Make use of the implemented red/green algorithm for variance r? @michaelwoerister
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/dep-graph-variance-alias.rs | 2 |
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 |
