]>
git.proxmox.com Git - rustc.git/blob - tests/incremental/dirty_clean.rs
1 // revisions: rpass1 cfail2
2 // compile-flags: -Z query-dep-graph
5 #![feature(rustc_attrs)]
7 // Sanity check for the dirty-clean system. Give the opposite
8 // annotations that we expect to see, so that we check that errors are
29 except
="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig",
33 //[cfail2]~^ ERROR `hir_owner(y)` should be dirty but is not
34 //[cfail2]~| ERROR `hir_owner_nodes(y)` should be dirty but is not
35 //[cfail2]~| ERROR `generics_of(y)` should be dirty but is not
36 //[cfail2]~| ERROR `predicates_of(y)` should be dirty but is not
37 //[cfail2]~| ERROR `type_of(y)` should be dirty but is not
38 //[cfail2]~| ERROR `fn_sig(y)` should be dirty but is not
39 //[cfail2]~| ERROR `typeck(y)` should be clean but is not
45 #[rustc_clean(except="typeck", cfg="cfail2")]
47 //[cfail2]~^ ERROR `typeck(z)` should be dirty but is not