diff options
| author | kennytm <kennytm@gmail.com> | 2017-10-08 13:39:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-08 13:39:01 +0800 |
| commit | ae54d5ecae12de1a4e2f4e7e02036f24e5363d32 (patch) | |
| tree | e512f27054c68c9fc2631c619a4f930e267ff1a1 /src | |
| parent | 761efb3239d9982987f0f181a2c93749ea61f610 (diff) | |
| parent | 73ca15cc2958dc5693d4b463ce48fbbe057d75f6 (diff) | |
| download | rust-ae54d5ecae12de1a4e2f4e7e02036f24e5363d32.tar.gz rust-ae54d5ecae12de1a4e2f4e7e02036f24e5363d32.zip | |
Rollup merge of #45058 - hunteke:fix_rustc_private_typo_2017Oct, r=shepmaster
Fix typo, per #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? ;-)
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/middle/stability.rs | 2 |
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 { |
