Skip to content

Commit

Permalink
Fix compile warnings caused by upgrade rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
breezewish committed Apr 26, 2019
1 parent c67ba77 commit 6089047
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/coprocessor/dag/rpn_expr/types/expr_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ pub struct RpnExpressionBuilder(Vec<RpnExpressionNode>);
impl RpnExpressionBuilder {
/// Checks whether the given expression definition tree is supported.
pub fn check_expr_tree_supported(c: &Expr) -> Result<()> {
use cop_datatype::FieldTypeAccessor;
use std::convert::TryFrom;

EvalType::try_from(c.get_field_type().tp()).map_err(|e| Error::Other(box_err!(e)))?;

match c.get_tp() {
Expand Down

0 comments on commit 6089047

Please sign in to comment.