diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2020-09-03 09:54:06 -0300 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2020-09-03 16:21:30 +0200 |
| commit | d0ef3a97fb5f7a375b2cdead44b4895fbbab21a3 (patch) | |
| tree | aaa99f0bccad889367edf5521d3514af8944d773 /src/doc/rustc-dev-guide | |
| parent | 9274f5d595f949b371487fec80229df6a572c2c9 (diff) | |
| download | rust-d0ef3a97fb5f7a375b2cdead44b4895fbbab21a3.tar.gz rust-d0ef3a97fb5f7a375b2cdead44b4895fbbab21a3.zip | |
Fix dep-graph-caller-callee test location
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/incrcomp-debugging.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/incrcomp-debugging.md b/src/doc/rustc-dev-guide/src/incrcomp-debugging.md index ecb29d544e4..ba312c959e4 100644 --- a/src/doc/rustc-dev-guide/src/incrcomp-debugging.md +++ b/src/doc/rustc-dev-guide/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: |
