5 cannot_be_a_base: false,
10 path: "/test/compiler/mir/tagset.rs",
14 diagnostic: Diagnostic {
30 "trivially_copy_pass_by_ref",
33 code_description: Some(
37 cannot_be_a_base: false,
42 "rust-lang.github.io",
46 path: "/rust-clippy/master/index.html",
49 "trivially_copy_pass_by_ref",
57 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",
58 related_information: Some(
60 DiagnosticRelatedInformation {
64 cannot_be_a_base: false,
69 path: "/test/compiler/lib.rs",
84 message: "lint level defined here",
86 DiagnosticRelatedInformation {
90 cannot_be_a_base: false,
95 path: "/test/compiler/mir/tagset.rs",
110 message: "consider passing by value instead: `self`",
119 MappedRustDiagnostic {
122 cannot_be_a_base: false,
127 path: "/test/compiler/lib.rs",
131 diagnostic: Diagnostic {
147 "trivially_copy_pass_by_ref",
150 code_description: Some(
154 cannot_be_a_base: false,
159 "rust-lang.github.io",
163 path: "/rust-clippy/master/index.html",
166 "trivially_copy_pass_by_ref",
174 message: "lint level defined here",
175 related_information: Some(
177 DiagnosticRelatedInformation {
181 cannot_be_a_base: false,
186 path: "/test/compiler/mir/tagset.rs",
201 message: "original diagnostic",
210 MappedRustDiagnostic {
213 cannot_be_a_base: false,
218 path: "/test/compiler/mir/tagset.rs",
222 diagnostic: Diagnostic {
238 "trivially_copy_pass_by_ref",
241 code_description: Some(
245 cannot_be_a_base: false,
250 "rust-lang.github.io",
254 path: "/rust-clippy/master/index.html",
257 "trivially_copy_pass_by_ref",
265 message: "consider passing by value instead: `self`",
266 related_information: Some(
268 DiagnosticRelatedInformation {
272 cannot_be_a_base: false,
277 path: "/test/compiler/mir/tagset.rs",
292 message: "original diagnostic",