diff options
| author | bors <bors@rust-lang.org> | 2023-12-07 11:57:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-07 11:57:14 +0000 |
| commit | 7df0c211ace4157009eebd015f1a083490faa0bc (patch) | |
| tree | ee984fa1292d242a89bd1d41c390f4e9fd6babe5 /compiler/rustc_session/src/errors.rs | |
| parent | b9540b7db9489630094760287dad621e3730d6b0 (diff) | |
| parent | 618409901ac354b57e6f3ea9fdbd6c4e88a10ef9 (diff) | |
| download | rust-7df0c211ace4157009eebd015f1a083490faa0bc.tar.gz rust-7df0c211ace4157009eebd015f1a083490faa0bc.zip | |
Auto merge of #118635 - nnethercote:fewer-early-errors, r=davidtwco
Fewer early errors r? `@davidtwco`
Diffstat (limited to 'compiler/rustc_session/src/errors.rs')
| -rw-r--r-- | compiler/rustc_session/src/errors.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/errors.rs b/compiler/rustc_session/src/errors.rs index 72c013eb549..7eed59709c8 100644 --- a/compiler/rustc_session/src/errors.rs +++ b/compiler/rustc_session/src/errors.rs @@ -444,3 +444,9 @@ pub(crate) struct FunctionReturnRequiresX86OrX8664; #[derive(Diagnostic)] #[diag(session_function_return_thunk_extern_requires_non_large_code_model)] pub(crate) struct FunctionReturnThunkExternRequiresNonLargeCodeModel; + +#[derive(Diagnostic)] +#[diag(session_failed_to_create_profiler)] +pub struct FailedToCreateProfiler { + pub err: String, +} |
