diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-06-12 09:41:00 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-07-01 14:34:34 +0300 |
| commit | c6374cfbe2de22e46b4e7687fa733549114bf070 (patch) | |
| tree | 3ad735e3433945a41af49922e6c76c3a3b51602d /src/librustc/cfg/construct.rs | |
| parent | 25a920648a3b616469422ea0a9689297f108e8e3 (diff) | |
| download | rust-c6374cfbe2de22e46b4e7687fa733549114bf070.tar.gz rust-c6374cfbe2de22e46b4e7687fa733549114bf070.zip | |
rustc: use a separate copy of P for HIR than for AST.
Diffstat (limited to 'src/librustc/cfg/construct.rs')
| -rw-r--r-- | src/librustc/cfg/construct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/cfg/construct.rs b/src/librustc/cfg/construct.rs index a7750edbb6f..403e2f02f05 100644 --- a/src/librustc/cfg/construct.rs +++ b/src/librustc/cfg/construct.rs @@ -1,11 +1,11 @@ use crate::cfg::*; use crate::middle::region; use rustc_data_structures::graph::implementation as graph; -use syntax::ptr::P; use crate::ty::{self, TyCtxt}; use crate::hir::{self, PatKind}; use crate::hir::def_id::DefId; +use crate::hir::ptr::P; struct CFGBuilder<'a, 'tcx> { tcx: TyCtxt<'tcx>, |
