libimagrt: Replace error module imports with macro helper

This commit is contained in:
Matthias Beyer 2016-05-19 17:05:14 +02:00
parent c88d5b308f
commit 1dbfb7cf28

View file

@ -1,7 +1,4 @@
use std::error::Error;
use std::fmt::Display;
use std::fmt::Formatter;
use std::fmt::Error as FmtError;
generate_error_imports!();
use std::io::Error as IOError;
generate_error_types!(RuntimeError, RuntimeErrorKind,