about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKevin Hunter Kesling <hunteke@gmail.com>2017-10-05 21:31:59 -0400
committerKevin Hunter Kesling <hunteke@gmail.com>2017-10-05 21:31:59 -0400
commit73ca15cc2958dc5693d4b463ce48fbbe057d75f6 (patch)
tree71e94cbe1cd7afcc838074c922a13ead4cf2b4fe
parentf5e036a290cae0da2a613a4459f5cd3dee74cd89 (diff)
downloadrust-73ca15cc2958dc5693d4b463ce48fbbe057d75f6.tar.gz
rust-73ca15cc2958dc5693d4b463ce48fbbe057d75f6.zip
Fix typo, per #45057.
-rw-r--r--src/librustc/middle/stability.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/stability.rs b/src/librustc/middle/stability.rs
index 89049958309..4e4fc8b3118 100644
--- a/src/librustc/middle/stability.rs
+++ b/src/librustc/middle/stability.rs
@@ -429,7 +429,7 @@ impl<'a, 'tcx> Index<'tcx> {
             // while maintaining the invariant that all sysroot crates are unstable
             // by default and are unable to be used.
             if tcx.sess.opts.debugging_opts.force_unstable_if_unmarked {
-                let reason = "this crate is being loaded from the sysroot, and \
+                let reason = "this crate is being loaded from the sysroot, an \
                               unstable location; did you mean to load this crate \
                               from crates.io via `Cargo.toml` instead?";
                 let stability = tcx.intern_stability(Stability {