From af533030a27168df357398ed47d605ee54441f06 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Thu, 3 Sep 2020 09:54:06 -0300 Subject: [PATCH] Fix dep-graph-caller-callee test location --- src/incrcomp-debugging.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/incrcomp-debugging.md b/src/incrcomp-debugging.md index ecb29d54..ba312c95 100644 --- a/src/incrcomp-debugging.md +++ b/src/incrcomp-debugging.md @@ -4,9 +4,9 @@ There are various ways to write tests against the dependency graph. The simplest mechanisms are the `#[rustc_if_this_changed]` and -`#[rustc_then_this_would_need]` annotations. These are used in compile-fail -tests to test whether the expected set of paths exist in the dependency graph. -As an example, see `src/test/compile-fail/dep-graph-caller-callee.rs`. +`#[rustc_then_this_would_need]` annotations. These are used in ui tests +to test whether the expected set of paths exist in the dependency graph. +As an example, see `src/test/ui/dep-graph/dep-graph-caller-callee.rs`. The idea is that you can annotate a test like: