Skip to content

Commit

Permalink
Rollup merge of rust-lang#45058 - hunteke:fix_rustc_private_typo_2017…
Browse files Browse the repository at this point in the history
…Oct, r=shepmaster

Fix typo, per rust-lang#45057.

This looks like a simple string -- one character -- fix.  Given that I'm currently running low on battery, I have not actually compiled and tested this.  But I am fully confident this passes muster.  If not, I'll be maintainer-educated, yes?  ;-)
  • Loading branch information
kennytm committed Oct 8, 2017
2 parents 761efb3 + 73ca15c commit ae54d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/middle/stability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ae54d5e

Please sign in to comment.