diff options
| author | klensy <klensy@users.noreply.github.com> | 2022-07-01 18:20:46 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2022-07-21 22:53:02 +0300 |
| commit | b38c94857df02a402ba46bc559d5bc8dc5256023 (patch) | |
| tree | d4e249e5f2fa9e5a8abb19e6e3078f6fee5c3192 /compiler/rustc_span/src | |
| parent | 1673f1450eeaf4a5452e086db0fe2ae274a0144f (diff) | |
| download | rust-b38c94857df02a402ba46bc559d5bc8dc5256023.tar.gz rust-b38c94857df02a402ba46bc559d5bc8dc5256023.zip | |
avoid embedding StabilityLevel::Unstable reason string into metadata multiple times
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 2ac1ecfe87e..68fb1664058 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -1527,6 +1527,9 @@ symbols! { unsized_locals, unsized_tuple_coercion, unstable, + unstable_location_reason_default: "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?", untagged_unions, unused_imports, unused_qualifications, |
