Do not generate comparefoo.gv and simpleeq.gv during testing

This commit is contained in:
Vadim Petrochenkov 2015-11-16 21:16:44 +03:00
parent 57c8a3e8b6
commit a6cbb97d10

View file

@ -76,7 +76,7 @@ fn compare_au8(a: *const [u8], b: *const [u8]) -> ComparisonResults {
}
}
#[rustc_mir(graphviz="comparefoo.gv")]
#[rustc_mir]
fn compare_foo<'a>(a: *const (Foo+'a), b: *const (Foo+'a)) -> ComparisonResults {
ComparisonResults {
lt: a < b,
@ -88,7 +88,7 @@ fn compare_foo<'a>(a: *const (Foo+'a), b: *const (Foo+'a)) -> ComparisonResults
}
}
#[rustc_mir(graphviz="simpleeq.gv")]
#[rustc_mir]
fn simple_eq<'a>(a: *const (Foo+'a), b: *const (Foo+'a)) -> bool {
let result = a == b;
result