warning: no edition set: defaulting to the 2015 edition while the latest is 2024
{"reason":"compiler-message","package_id":"test/resources/language/rust/clippy-test#0.1.0","manifest_path":"test/resources/language/rust/clippy-test/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"clippy-test","src_path":"test/resources/language/rust/clippy-test/src/main.rs","edition":"2015","doc":true,"doctest":false,"test":true},"message":{"rendered":"warning: unneeded `return` statement\n --> src/main.rs:2:5\n  |\n2 |     return true;\n  |     ^^^^^^^^^^^\n  |\n  = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_return\n  = note: `#[warn(clippy::needless_return)]` on by default\nhelp: remove `return`\n  |\n2 -     return true;\n2 +     true\n  |\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_return","rendered":null,"spans":[]},{"children":[],"code":null,"level":"note","message":"`#[warn(clippy::needless_return)]` on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"remove `return`","rendered":null,"spans":[{"byte_end":43,"byte_start":32,"column_end":16,"column_start":5,"expansion":null,"file_name":"src/main.rs","is_primary":true,"label":null,"line_end":2,"line_start":2,"suggested_replacement":"true","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":16,"highlight_start":5,"text":"    return true;"}]},{"byte_end":44,"byte_start":43,"column_end":17,"column_start":16,"expansion":null,"file_name":"src/main.rs","is_primary":true,"label":null,"line_end":2,"line_start":2,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":17,"highlight_start":16,"text":"    return true;"}]}]}],"code":{"code":"clippy::needless_return","explanation":null},"level":"warning","message":"unneeded `return` statement","spans":[{"byte_end":43,"byte_start":32,"column_end":16,"column_start":5,"expansion":null,"file_name":"src/main.rs","is_primary":true,"label":null,"line_end":2,"line_start":2,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":16,"highlight_start":5,"text":"    return true;"}]}]}}
{"reason":"compiler-artifact","package_id":"test/resources/language/rust/clippy-test#0.1.0","manifest_path":"test/resources/language/rust/clippy-test/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"clippy-test","src_path":"test/resources/language/rust/clippy-test/src/main.rs","edition":"2015","doc":true,"doctest":false,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["test/resources/language/rust/clippy-test/target/debug/deps/libclippy_test-569c293bba2e7c75.rmeta"],"executable":null,"fresh":true}
{"reason":"build-finished","success":true}
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.00s
