Skip to content

Commit ae54d5e

Browse files
authored
Rollup merge of rust-lang#45058 - hunteke:fix_rustc_private_typo_2017Oct, 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? ;-)
2 parents 761efb3 + 73ca15c commit ae54d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/stability.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ impl<'a, 'tcx> Index<'tcx> {
429429
// while maintaining the invariant that all sysroot crates are unstable
430430
// by default and are unable to be used.
431431
if tcx.sess.opts.debugging_opts.force_unstable_if_unmarked {
432-
let reason = "this crate is being loaded from the sysroot, and \
432+
let reason = "this crate is being loaded from the sysroot, an \
433433
unstable location; did you mean to load this crate \
434434
from crates.io via `Cargo.toml` instead?";
435435
let stability = tcx.intern_stability(Stability {

0 commit comments

Comments
 (0)