5 cannot_be_a_base: false,
10 path: "/test/compiler/mir/tagset.rs",
14 diagnostic: Diagnostic {
32 "trivially_copy_pass_by_ref",
35 code_description: Some(
39 cannot_be_a_base: false,
44 "rust-lang.github.io",
48 path: "/rust-clippy/master/index.html",
51 "trivially_copy_pass_by_ref",
59 message: "this argument is passed by reference, but would be more efficient if passed by value\n#[warn(clippy::trivially_copy_pass_by_ref)] implied by #[warn(clippy::all)]\nfor further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref",
60 related_information: Some(
62 DiagnosticRelatedInformation {
66 cannot_be_a_base: false,
71 path: "/test/compiler/lib.rs",
86 message: "lint level defined here",
88 DiagnosticRelatedInformation {
92 cannot_be_a_base: false,
97 path: "/test/compiler/mir/tagset.rs",
112 message: "consider passing by value instead: `self`",
121 MappedRustDiagnostic {
124 cannot_be_a_base: false,
129 path: "/test/compiler/lib.rs",
133 diagnostic: Diagnostic {
151 "trivially_copy_pass_by_ref",
154 code_description: Some(
158 cannot_be_a_base: false,
163 "rust-lang.github.io",
167 path: "/rust-clippy/master/index.html",
170 "trivially_copy_pass_by_ref",
178 message: "lint level defined here",
179 related_information: Some(
181 DiagnosticRelatedInformation {
185 cannot_be_a_base: false,
190 path: "/test/compiler/mir/tagset.rs",
205 message: "original diagnostic",
214 MappedRustDiagnostic {
217 cannot_be_a_base: false,
222 path: "/test/compiler/mir/tagset.rs",
226 diagnostic: Diagnostic {
244 "trivially_copy_pass_by_ref",
247 code_description: Some(
251 cannot_be_a_base: false,
256 "rust-lang.github.io",
260 path: "/rust-clippy/master/index.html",
263 "trivially_copy_pass_by_ref",
271 message: "consider passing by value instead: `self`",
272 related_information: Some(
274 DiagnosticRelatedInformation {
278 cannot_be_a_base: false,
283 path: "/test/compiler/mir/tagset.rs",
298 message: "original diagnostic",
307 title: "consider passing by value instead: `self`",
315 SnippetWorkspaceEdit {
320 cannot_be_a_base: false,
325 path: "/test/compiler/mir/tagset.rs",
345 document_changes: None,
346 change_annotations: None,