diff options
| author | csmoe <csmoe@msn.com> | 2020-01-19 12:59:59 +0800 |
|---|---|---|
| committer | csmoe <csmoe@msn.com> | 2020-01-19 13:22:41 +0800 |
| commit | cd7b5edc2cac3fa0db6b464a6e94edd8f334274d (patch) | |
| tree | 12a1c38337b68bc89453d760ea076658c990d6eb /src/librustc | |
| parent | 42b6ed13be779499d118af721913a66bd3d946ea (diff) | |
| download | rust-cd7b5edc2cac3fa0db6b464a6e94edd8f334274d.tar.gz rust-cd7b5edc2cac3fa0db6b464a6e94edd8f334274d.zip | |
update test ui for raw-ptr borrow inside generator
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/traits/error_reporting/suggestions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/traits/error_reporting/suggestions.rs b/src/librustc/traits/error_reporting/suggestions.rs index 189412f60b9..ce961112670 100644 --- a/src/librustc/traits/error_reporting/suggestions.rs +++ b/src/librustc/traits/error_reporting/suggestions.rs @@ -12,8 +12,8 @@ use rustc_errors::{ error_code, pluralize, struct_span_err, Applicability, DiagnosticBuilder, Style, }; use rustc_hir as hir; -use rustc_hir::def_id::DefId; use rustc_hir::def::DefKind; +use rustc_hir::def_id::DefId; use rustc_hir::intravisit::Visitor; use rustc_hir::Node; use rustc_span::source_map::SourceMap; |
