Fix dep-graph-caller-callee test location
This commit is contained in:
parent
b737f79192
commit
af533030a2
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue