diff options
| author | Daniil Belov <70999565+BelovDV@users.noreply.github.com> | 2022-08-24 13:10:40 +0300 |
|---|---|---|
| committer | Daniil Belov <70999565+BelovDV@users.noreply.github.com> | 2022-09-12 16:45:03 +0300 |
| commit | ffa83596fe216c19e9d58c8318786edd07d23d5f (patch) | |
| tree | c4c1947168a229b527608a92095f38498a4755a2 /compiler/rustc_metadata/src/errors.rs | |
| parent | 56e7678ca97e9740f7d09206f767d5bb676917f7 (diff) | |
| download | rust-ffa83596fe216c19e9d58c8318786edd07d23d5f.tar.gz rust-ffa83596fe216c19e9d58c8318786edd07d23d5f.zip | |
change rlib format to discern native dependencies
Diffstat (limited to 'compiler/rustc_metadata/src/errors.rs')
| -rw-r--r-- | compiler/rustc_metadata/src/errors.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_metadata/src/errors.rs b/compiler/rustc_metadata/src/errors.rs index 1406ee914af..7d63fad3240 100644 --- a/compiler/rustc_metadata/src/errors.rs +++ b/compiler/rustc_metadata/src/errors.rs @@ -370,6 +370,12 @@ pub struct FailedWriteError { } #[derive(SessionDiagnostic)] +#[diag(metadata::missing_native_library)] +pub struct MissingNativeLibrary<'a> { + pub libname: &'a str, +} + +#[derive(SessionDiagnostic)] #[diag(metadata::failed_create_tempdir)] pub struct FailedCreateTempdir { pub err: Error, |
