]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/check/cast.rs
compiletest: Do not run debuginfo tests with gdb on msvc targets
[rust.git] / src / librustc_typeck / check / cast.rs
index ba5e5fd8ac188dddf73300adb42993d9f649b6d0..d254a84df72ce5b9264398ea352ccc02f0a71786 100644 (file)
@@ -49,8 +49,6 @@
 use rustc_span::Span;
 use syntax::ast;
 
-use rustc_error_codes::*;
-
 /// Reifies a cast check to be checked once we have full type information for
 /// a function context.
 pub struct CastCheck<'tcx> {
@@ -381,7 +379,7 @@ fn report_cast_error(&self, fcx: &FnCtxt<'a, 'tcx>, e: CastError) {
                     if unknown_cast_to { "to" } else { "from" }
                 );
                 err.note(
-                    "The type information given here is insufficient to check whether \
+                    "the type information given here is insufficient to check whether \
                           the pointer cast is valid",
                 );
                 if unknown_cast_to {