diff options
| author | varkor <github@varkor.com> | 2019-03-21 00:00:06 +0000 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-06-05 16:45:16 +0100 |
| commit | 05f505107f38c17cfb44e8b48f58104d2ee1d830 (patch) | |
| tree | 67b7f01c6ce612b4f97f57f943d96234e76d730d | |
| parent | 2a1d6c83d3158861ee028b26c531e5e2c7c68140 (diff) | |
| download | rust-05f505107f38c17cfb44e8b48f58104d2ee1d830.tar.gz rust-05f505107f38c17cfb44e8b48f58104d2ee1d830.zip | |
Remove unused `TypeVariableOrigin` variants
| -rw-r--r-- | src/librustc/infer/type_variable.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustc/infer/type_variable.rs b/src/librustc/infer/type_variable.rs index 88933312b0d..c3afdd94dda 100644 --- a/src/librustc/infer/type_variable.rs +++ b/src/librustc/infer/type_variable.rs @@ -51,11 +51,8 @@ pub enum TypeVariableOrigin { SubstitutionPlaceholder(Span), AutoDeref(Span), AdjustmentType(Span), - DivergingStmt(Span), - DivergingBlockExpr(Span), DivergingFn(Span), LatticeVariable(Span), - Generalized(ty::TyVid), } struct TypeVariableData { |
