Searched refs:SessionDiagnostic (Results 1 – 18 of 18) sorted by relevance
/dports/lang/rust/rustc-1.58.1-src/src/test/ui-fulldeps/ |
H A D | session-derive-errors.rs | 28 #[derive(SessionDiagnostic)] 33 #[derive(SessionDiagnostic)] 41 #[derive(SessionDiagnostic)] 47 #[derive(SessionDiagnostic)] 55 #[derive(SessionDiagnostic)] 61 #[derive(SessionDiagnostic)] 67 #[derive(SessionDiagnostic)] 72 #[derive(SessionDiagnostic)] 90 #[derive(SessionDiagnostic)] 98 #[derive(SessionDiagnostic)] [all …]
|
H A D | session-derive-errors.stderr | 1 error: `#[derive(SessionDiagnostic)]` can only be used on structs 12 error: `#[label = ...]` is not a valid SessionDiagnostic struct attribute 18 error: `#[suggestion = ...]` is not a valid SessionDiagnostic field attribute 59 LL | #[derive(SessionDiagnostic)] 67 …= note: this error originates in the derive macro `SessionDiagnostic` (in Nightly builds, run with… 72 LL | #[derive(SessionDiagnostic)] 79 …= note: this error originates in the derive macro `SessionDiagnostic` (in Nightly builds, run with…
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/ |
H A D | errors.rs | 2 use rustc_macros::SessionDiagnostic; 5 #[derive(SessionDiagnostic)] 16 #[derive(SessionDiagnostic)] 25 #[derive(SessionDiagnostic)] 38 #[derive(SessionDiagnostic)] 47 #[derive(SessionDiagnostic)] 59 #[derive(SessionDiagnostic)] 67 #[derive(SessionDiagnostic)] 78 #[derive(SessionDiagnostic)] 87 #[derive(SessionDiagnostic)] [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/doc/rustc-dev-guide/src/diagnostics/ |
H A D | sessiondiagnostic.md | 1 # Creating Errors With SessionDiagnostic 3 The SessionDiagnostic derive macro gives an alternate way to the DiagnosticBuilder API for defining 14 #[derive(SessionDiagnostic)] 32 We see that using `SessionDiagnostic` is relatively straight forward. The `#[error = "..."]` 39 impl SessionDiagnostic for FieldAlreadyDeclared { 67 Below is a listing of all the currently-available attributes that `#[derive(SessionDiagnostic)]` 89 #[derive(SessionDiagnostic)]
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_macros-718.0.0/src/ |
H A D | lib.rs | 42 [SessionDiagnostic, attributes(
|
H A D | session_diagnostic.rs | 229 … gen impl<'__session_diagnostic_sess> rustc_session::SessionDiagnostic<'__session_diagnostic_sess> in into_tokens()
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_macros-722.0.0/src/ |
H A D | lib.rs | 42 [SessionDiagnostic, attributes(
|
H A D | session_diagnostic.rs | 229 … gen impl<'__session_diagnostic_sess> rustc_session::SessionDiagnostic<'__session_diagnostic_sess> in into_tokens()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_macros/src/ |
H A D | lib.rs | 42 [SessionDiagnostic, attributes(
|
H A D | session_diagnostic.rs | 229 … gen impl<'__session_diagnostic_sess> rustc_session::SessionDiagnostic<'__session_diagnostic_sess> in into_tokens()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_macros/src/ |
H A D | lib.rs | 42 [SessionDiagnostic, attributes(
|
H A D | session_diagnostic.rs | 229 … gen impl<'__session_diagnostic_sess> rustc_session::SessionDiagnostic<'__session_diagnostic_sess> in into_tokens()
|
/dports/lang/rust/rustc-1.58.1-src/src/doc/rustc-dev-guide/src/ |
H A D | SUMMARY.md | 134 - [Creating Errors With SessionDiagnostic](./diagnostics/sessiondiagnostic.md)
|
H A D | diagnostics.md | 362 Alternatively, for less-complex diagnostics, the `SessionDiagnostic` derive 363 macro can be used -- see [Creating Errors With SessionDiagnostic][sessiondiagnostic].
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_session/src/ |
H A D | session.rs | 221 pub trait SessionDiagnostic<'a> { interface 399 pub fn emit_err<'a>(&'a self, err: impl SessionDiagnostic<'a>) { in emit_err()
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_session-722.0.0/src/ |
H A D | session.rs | 249 pub trait SessionDiagnostic<'a> { interface 452 pub fn emit_err<'a>(&'a self, err: impl SessionDiagnostic<'a>) { in emit_err()
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_session-718.0.0/src/ |
H A D | session.rs | 250 pub trait SessionDiagnostic<'a> { trait 453 pub fn emit_err<'a>(&'a self, err: impl SessionDiagnostic<'a>) { in emit_err()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_session/src/ |
H A D | session.rs | 249 pub trait SessionDiagnostic<'a> { interface 452 pub fn emit_err<'a>(&'a self, err: impl SessionDiagnostic<'a>) { in emit_err()
|