diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-28 00:54:46 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-30 06:43:06 +0200 |
| commit | f64b66a407627ca151c56b3c30ecefaa984de095 (patch) | |
| tree | 21437d74bb799d63658c7838e788647377da51f2 /src/librustc/ty | |
| parent | 04b88a9eba8abbac87eddcb2998beea09589c2c9 (diff) | |
| download | rust-f64b66a407627ca151c56b3c30ecefaa984de095.tar.gz rust-f64b66a407627ca151c56b3c30ecefaa984de095.zip | |
Do not downgrade NLL errors for bind_by_move_pattern_guards when AST says it is OK.
Diffstat (limited to 'src/librustc/ty')
| -rw-r--r-- | src/librustc/ty/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/query/mod.rs b/src/librustc/ty/query/mod.rs index f4b99ca3688..fb2ad2aa54d 100644 --- a/src/librustc/ty/query/mod.rs +++ b/src/librustc/ty/query/mod.rs @@ -4,7 +4,7 @@ use crate::hir::def::{DefKind, Export}; use crate::hir::{self, TraitCandidate, ItemLocalId, CodegenFnAttrs}; use crate::infer::canonical::{self, Canonical}; use crate::lint; -use crate::middle::borrowck::BorrowCheckResult; +use crate::middle::borrowck::{BorrowCheckResult, SignalledError}; use crate::middle::cstore::{ExternCrate, LinkagePreference, NativeLibrary, ForeignModule}; use crate::middle::cstore::{NativeLibraryKind, DepKind, CrateSource}; use crate::middle::privacy::AccessLevels; |
