Fix dep-graph-caller-callee test location

This commit is contained in:
Santiago Pastorino 2020-09-03 09:54:06 -03:00 committed by Tshepang Lekhonkhobe
parent 7b4ab23cc7
commit 1519df6945
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@
There are various ways to write tests against the dependency graph. There are various ways to write tests against the dependency graph.
The simplest mechanisms are the `#[rustc_if_this_changed]` and The simplest mechanisms are the `#[rustc_if_this_changed]` and
`#[rustc_then_this_would_need]` annotations. These are used in compile-fail `#[rustc_then_this_would_need]` annotations. These are used in ui tests
tests to test whether the expected set of paths exist in the dependency graph. 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`. As an example, see `src/test/ui/dep-graph/dep-graph-caller-callee.rs`.
The idea is that you can annotate a test like: The idea is that you can annotate a test like: