{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":26850443,"defaultBranch":"master","name":"rust-clippy","ownerLogin":"rust-lang","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2014-11-19T07:49:21.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/5430905?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1714737342.0","currentOid":""},"activityList":{"items":[{"before":"680256f3ce369da4d305bb4e0c037672d2625b8b","after":"0b1bf37722519e78d92c01118fde228e7ea9eb17","ref":"refs/heads/master","pushedAt":"2024-05-18T23:56:10.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12818 - notriddle:master, r=y21\n\ndoc_lazy_continuation: do not warn on End events\n\n```\nchangelog: none\n```\n\nThis avoids event spans that would otherwise cause crashes, since an\nEnd's span covers the range of the tag (which will be earlier than the\nline break within the tag).","shortMessageHtmlLink":"Auto merge of #12818 - notriddle:master, r=y21"}},{"before":"680256f3ce369da4d305bb4e0c037672d2625b8b","after":"0b1bf37722519e78d92c01118fde228e7ea9eb17","ref":"refs/heads/auto","pushedAt":"2024-05-18T23:46:58.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12818 - notriddle:master, r=y21\n\ndoc_lazy_continuation: do not warn on End events\n\n```\nchangelog: none\n```\n\nThis avoids event spans that would otherwise cause crashes, since an\nEnd's span covers the range of the tag (which will be earlier than the\nline break within the tag).","shortMessageHtmlLink":"Auto merge of #12818 - notriddle:master, r=y21"}},{"before":"49df5fc2f53a365ac3472b664584dd23b76b1d2f","after":"993fa93c7d9c822864304cec2ae84d1ce4f0e352","ref":"refs/heads/gh-pages","pushedAt":"2024-05-16T21:39:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Manishearth","name":"Manish Goregaokar","path":"/Manishearth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1617736?s=80&v=4"},"commit":{"message":"Automatic deploy to GitHub Pages: 680256f3ce369da4d305bb4e0c037672d2625b8b","shortMessageHtmlLink":"Automatic deploy to GitHub Pages: 680256f"}},{"before":"5459429f923071e450ac1f92a28a2360da413414","after":"680256f3ce369da4d305bb4e0c037672d2625b8b","ref":"refs/heads/master","pushedAt":"2024-05-16T21:37:22.000Z","pushType":"push","commitsCount":28,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12813 - flip1995:rustup, r=flip1995\n\nRustup\n\nr? `@ghost`\n\nchangelog: None","shortMessageHtmlLink":"Auto merge of #12813 - flip1995:rustup, r=flip1995"}},{"before":"5459429f923071e450ac1f92a28a2360da413414","after":"680256f3ce369da4d305bb4e0c037672d2625b8b","ref":"refs/heads/auto","pushedAt":"2024-05-16T21:28:35.000Z","pushType":"push","commitsCount":28,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12813 - flip1995:rustup, r=flip1995\n\nRustup\n\nr? `@ghost`\n\nchangelog: None","shortMessageHtmlLink":"Auto merge of #12813 - flip1995:rustup, r=flip1995"}},{"before":"3073c52ca46b45e74e7c988d16115b56b1ec6820","after":"49df5fc2f53a365ac3472b664584dd23b76b1d2f","ref":"refs/heads/gh-pages","pushedAt":"2024-05-16T21:24:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Manishearth","name":"Manish Goregaokar","path":"/Manishearth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1617736?s=80&v=4"},"commit":{"message":"Automatic deploy to GitHub Pages: 5459429f923071e450ac1f92a28a2360da413414","shortMessageHtmlLink":"Automatic deploy to GitHub Pages: 5459429"}},{"before":"6c8ff3f894909a8c46e201b8779ebb365fd2e84d","after":"5459429f923071e450ac1f92a28a2360da413414","ref":"refs/heads/master","pushedAt":"2024-05-16T21:22:34.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21\n\nAdd configuration option for ignoring `panic!()` in tests\n\n```\nchangelog: [`panic`]: Now can be disabled in tests with the `allow-panic-in-tests` option\n```\n\nI often find myself using `panic!(…)` in tests a lot, where I often do something like:\n\n```rust\nmatch enam {\n Enam::A => …,\n Enam::B => …,\n _ => panic!(\"This should not happen at all.\"),\n}\n```\nI think this patch should go nicely with already existing `allow-unwrap-in-tests` and `allow-expect-in-tests`.","shortMessageHtmlLink":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21"}},{"before":"6c8ff3f894909a8c46e201b8779ebb365fd2e84d","after":"5459429f923071e450ac1f92a28a2360da413414","ref":"refs/heads/auto","pushedAt":"2024-05-16T21:13:35.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21\n\nAdd configuration option for ignoring `panic!()` in tests\n\n```\nchangelog: [`panic`]: Now can be disabled in tests with the `allow-panic-in-tests` option\n```\n\nI often find myself using `panic!(…)` in tests a lot, where I often do something like:\n\n```rust\nmatch enam {\n Enam::A => …,\n Enam::B => …,\n _ => panic!(\"This should not happen at all.\"),\n}\n```\nI think this patch should go nicely with already existing `allow-unwrap-in-tests` and `allow-expect-in-tests`.","shortMessageHtmlLink":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21"}},{"before":"caad063933e5012b152d883a6c03f1d0ad5ec6a8","after":"6c8ff3f894909a8c46e201b8779ebb365fd2e84d","ref":"refs/heads/master","pushedAt":"2024-05-16T21:03:12.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12812 - Alexendoo:driver-integration, r=flip1995\n\nManually set library paths in .github/driver.sh\n\nFixes https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/Windows.20CI.20failing\n\nRustup 1.27.1 no longer adds `[SYSROOT]/bin` to `PATH` by default - https://github.com/rust-lang/rustup/issues/3825. This is fine for the packaged binaries since windows loads `dll`s from the folder the executable is in, but our built one is in a different folder\n\nThere's an environment variable to get the old behaviour back, but as it's deprecated and not much code I think returning to setting it manually is fine\n\nchangelog: none","shortMessageHtmlLink":"Auto merge of #12812 - Alexendoo:driver-integration, r=flip1995"}},{"before":"4a24494edfffe5ff87e2ff7a02593ed2e411dd4b","after":"6c8ff3f894909a8c46e201b8779ebb365fd2e84d","ref":"refs/heads/auto","pushedAt":"2024-05-16T20:54:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12812 - Alexendoo:driver-integration, r=flip1995\n\nManually set library paths in .github/driver.sh\n\nFixes https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/Windows.20CI.20failing\n\nRustup 1.27.1 no longer adds `[SYSROOT]/bin` to `PATH` by default - https://github.com/rust-lang/rustup/issues/3825. This is fine for the packaged binaries since windows loads `dll`s from the folder the executable is in, but our built one is in a different folder\n\nThere's an environment variable to get the old behaviour back, but as it's deprecated and not much code I think returning to setting it manually is fine\n\nchangelog: none","shortMessageHtmlLink":"Auto merge of #12812 - Alexendoo:driver-integration, r=flip1995"}},{"before":"e9f8801b79ac291ff13446a4b00afe77bec5d4b3","after":"236b205c57f918335c1e495424262e06dc16881c","ref":"refs/heads/try","pushedAt":"2024-05-16T15:27:36.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12805 - Alexendoo:blocks-in-conditions-closures, r=\n\nDon't lint blocks in closures for blocks_in_conditions\n\nSeemed like an outlier for the lint which generally caught only the syntactically confusing cases, it lints blocks in closures but excludes closures passed to iterator methods, this changes it to ignore closures in general\n\nchangelog: none","shortMessageHtmlLink":"Auto merge of #12805 - Alexendoo:blocks-in-conditions-closures, r=<try>"}},{"before":"430c885ac717e97b6e845fee593ee30e01e0152f","after":"4a24494edfffe5ff87e2ff7a02593ed2e411dd4b","ref":"refs/heads/auto","pushedAt":"2024-05-16T10:51:25.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21\n\nAdd configuration option for ignoring `panic!()` in tests\n\n```\nchangelog: [`panic`]: Now can be disabled in tests with the `allow-panic-in-tests` option\n```\n\nI often find myself using `panic!(…)` in tests a lot, where I often do something like:\n\n```rust\nmatch enam {\n Enam::A => …,\n Enam::B => …,\n _ => panic!(\"This should not happen at all.\"),\n}\n```\nI think this patch should go nicely with already existing `allow-unwrap-in-tests` and `allow-expect-in-tests`.","shortMessageHtmlLink":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21"}},{"before":"caad063933e5012b152d883a6c03f1d0ad5ec6a8","after":"430c885ac717e97b6e845fee593ee30e01e0152f","ref":"refs/heads/auto","pushedAt":"2024-05-16T06:33:34.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21\n\nAdd configuration option for ignoring `panic!()` in tests\n\n```\nchangelog: [`panic`]: Now can be disabled in tests with the `allow-panic-in-tests` option\n```\n\nI often find myself using `panic!(…)` in tests a lot, where I often do something like:\n\n```rust\nmatch enam {\n Enam::A => …,\n Enam::B => …,\n _ => panic!(\"This should not happen at all.\"),\n}\n```\nI think this patch should go nicely with already existing `allow-unwrap-in-tests` and `allow-expect-in-tests`.","shortMessageHtmlLink":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21"}},{"before":"e669d97494e82741b2a06cab2e5eb163c9986833","after":"caad063933e5012b152d883a6c03f1d0ad5ec6a8","ref":"refs/heads/master","pushedAt":"2024-05-15T21:38:36.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12713 - J-ZhengLi:issue8864, r=y21\n\nmake sure the msrv for `const_raw_ptr_deref` is met when linting [`missing_const_for_fn`]\n\nfixes: #8864\n\n---\n\nchangelog: make sure the msrv for `const_ptr_deref` is met when linting [`missing_const_for_fn`]","shortMessageHtmlLink":"Auto merge of #12713 - J-ZhengLi:issue8864, r=y21"}},{"before":"5996cc59664652d56df75114092eb1a5dc4b8838","after":"caad063933e5012b152d883a6c03f1d0ad5ec6a8","ref":"refs/heads/auto","pushedAt":"2024-05-15T21:29:35.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12713 - J-ZhengLi:issue8864, r=y21\n\nmake sure the msrv for `const_raw_ptr_deref` is met when linting [`missing_const_for_fn`]\n\nfixes: #8864\n\n---\n\nchangelog: make sure the msrv for `const_ptr_deref` is met when linting [`missing_const_for_fn`]","shortMessageHtmlLink":"Auto merge of #12713 - J-ZhengLi:issue8864, r=y21"}},{"before":"e669d97494e82741b2a06cab2e5eb163c9986833","after":"5996cc59664652d56df75114092eb1a5dc4b8838","ref":"refs/heads/auto","pushedAt":"2024-05-15T20:46:17.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21\n\nAdd configuration option for ignoring `panic!()` in tests\n\n```\nchangelog: [`panic`]: Now can be disabled in tests with the `allow-panic-in-tests` option\n```\n\nI often find myself using `panic!(…)` in tests a lot, where I often do something like:\n\n```rust\nmatch enam {\n Enam::A => …,\n Enam::B => …,\n _ => panic!(\"This should not happen at all.\"),\n}\n```\nI think this patch should go nicely with already existing `allow-unwrap-in-tests` and `allow-expect-in-tests`.","shortMessageHtmlLink":"Auto merge of #12803 - wutchzone:panic-in-tests, r=y21"}},{"before":"9cfa9de1f1d6b37dae8d3f834930dba9a2030299","after":"3073c52ca46b45e74e7c988d16115b56b1ec6820","ref":"refs/heads/gh-pages","pushedAt":"2024-05-15T16:03:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Manishearth","name":"Manish Goregaokar","path":"/Manishearth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1617736?s=80&v=4"},"commit":{"message":"Automatic deploy to GitHub Pages: e669d97494e82741b2a06cab2e5eb163c9986833","shortMessageHtmlLink":"Automatic deploy to GitHub Pages: e669d97"}},{"before":"a9b5c8ca81c12dd7445b7df58109f86c40478bec","after":"e669d97494e82741b2a06cab2e5eb163c9986833","ref":"refs/heads/master","pushedAt":"2024-05-15T16:01:24.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12706 - pacak:less-aggressive-needless-borrows, r=dswij\n\nless aggressive needless_borrows_for_generic_args\n\nCurrent implementation looks for significant drops, that can change the behavior, but that's not enough - value might not have a `Drop` itself but one of its children might have it.\n\nA good example is passing a reference to `PathBuf` to `std::fs::File::open`. There's no benefits to pass `PathBuf` by value, but since `clippy` can't see `Drop` on `Vec` several layers down it complains forcing pass by value and making it impossible to use the same name later.\n\nNew implementation only looks at copy values or values created in place so existing variable will never be moved but things that take a string reference created and value is created inplace `&\"\".to_owned()` will make it to suggest to use `\"\".to_owned()` still.\n\nFixes https://github.com/rust-lang/rust-clippy/issues/12454\n\nchangelog: [`needless_borrows_for_generic_args`]: avoid moving variables","shortMessageHtmlLink":"Auto merge of #12706 - pacak:less-aggressive-needless-borrows, r=dswij"}},{"before":"a9b5c8ca81c12dd7445b7df58109f86c40478bec","after":"e669d97494e82741b2a06cab2e5eb163c9986833","ref":"refs/heads/auto","pushedAt":"2024-05-15T15:51:28.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12706 - pacak:less-aggressive-needless-borrows, r=dswij\n\nless aggressive needless_borrows_for_generic_args\n\nCurrent implementation looks for significant drops, that can change the behavior, but that's not enough - value might not have a `Drop` itself but one of its children might have it.\n\nA good example is passing a reference to `PathBuf` to `std::fs::File::open`. There's no benefits to pass `PathBuf` by value, but since `clippy` can't see `Drop` on `Vec` several layers down it complains forcing pass by value and making it impossible to use the same name later.\n\nNew implementation only looks at copy values or values created in place so existing variable will never be moved but things that take a string reference created and value is created inplace `&\"\".to_owned()` will make it to suggest to use `\"\".to_owned()` still.\n\nFixes https://github.com/rust-lang/rust-clippy/issues/12454\n\nchangelog: [`needless_borrows_for_generic_args`]: avoid moving variables","shortMessageHtmlLink":"Auto merge of #12706 - pacak:less-aggressive-needless-borrows, r=dswij"}},{"before":"a7f326574cf9335899d02284c76bc66ade75c3c4","after":"a9b5c8ca81c12dd7445b7df58109f86c40478bec","ref":"refs/heads/master","pushedAt":"2024-05-15T15:50:24.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12790 - c410-f3r:blah, r=dswij\n\nFix #12760\n\nFix #12760\n\n```\nchangelog: [missing_panics_doc]: Ignore panics in compile time\n```","shortMessageHtmlLink":"Auto merge of #12790 - c410-f3r:blah, r=dswij"}},{"before":"a7f326574cf9335899d02284c76bc66ade75c3c4","after":"a9b5c8ca81c12dd7445b7df58109f86c40478bec","ref":"refs/heads/auto","pushedAt":"2024-05-15T15:40:38.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12790 - c410-f3r:blah, r=dswij\n\nFix #12760\n\nFix #12760\n\n```\nchangelog: [missing_panics_doc]: Ignore panics in compile time\n```","shortMessageHtmlLink":"Auto merge of #12790 - c410-f3r:blah, r=dswij"}},{"before":"21acb4194f6e185cdf1acf00cbbf9c98fbbfe2cc","after":"9cfa9de1f1d6b37dae8d3f834930dba9a2030299","ref":"refs/heads/gh-pages","pushedAt":"2024-05-15T15:01:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Manishearth","name":"Manish Goregaokar","path":"/Manishearth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1617736?s=80&v=4"},"commit":{"message":"Automatic deploy to GitHub Pages: a7f326574cf9335899d02284c76bc66ade75c3c4","shortMessageHtmlLink":"Automatic deploy to GitHub Pages: a7f3265"}},{"before":"c58b6e66fd8ac01744c0aa975dccd19705c7a68a","after":"a7f326574cf9335899d02284c76bc66ade75c3c4","ref":"refs/heads/master","pushedAt":"2024-05-15T14:59:27.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12779 - de-vri-es:move-assigng-clones-to-pedantic, r=y21\n\n`assigning_clones`: move to `pedantic` so it is allow by default\n\nIn a nutshell, the `assigning_clones` lint suggests to make your code less readable for a small performance gain. See #12778 for more motivation.\n\nfixes #12778\n\nchangelog: [`assigning_clones`]: move to the `pedantic` group","shortMessageHtmlLink":"Auto merge of #12779 - de-vri-es:move-assigng-clones-to-pedantic, r=y21"}},{"before":"c58b6e66fd8ac01744c0aa975dccd19705c7a68a","after":"a7f326574cf9335899d02284c76bc66ade75c3c4","ref":"refs/heads/auto","pushedAt":"2024-05-15T14:50:30.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12779 - de-vri-es:move-assigng-clones-to-pedantic, r=y21\n\n`assigning_clones`: move to `pedantic` so it is allow by default\n\nIn a nutshell, the `assigning_clones` lint suggests to make your code less readable for a small performance gain. See #12778 for more motivation.\n\nfixes #12778\n\nchangelog: [`assigning_clones`]: move to the `pedantic` group","shortMessageHtmlLink":"Auto merge of #12779 - de-vri-es:move-assigng-clones-to-pedantic, r=y21"}},{"before":"a86378086b443b86f967288fb1b9498aaa171f8d","after":"c58b6e66fd8ac01744c0aa975dccd19705c7a68a","ref":"refs/heads/master","pushedAt":"2024-05-14T17:53:32.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12798 - Alexendoo:no-effect-path-statements, r=y21\n\nDon't lint path statements in no_effect\n\nThe rustc lint `path_statements` covers this case\n\nFixes #11547\n\nchangelog: none","shortMessageHtmlLink":"Auto merge of #12798 - Alexendoo:no-effect-path-statements, r=y21"}},{"before":"a86378086b443b86f967288fb1b9498aaa171f8d","after":"c58b6e66fd8ac01744c0aa975dccd19705c7a68a","ref":"refs/heads/auto","pushedAt":"2024-05-14T17:44:52.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12798 - Alexendoo:no-effect-path-statements, r=y21\n\nDon't lint path statements in no_effect\n\nThe rustc lint `path_statements` covers this case\n\nFixes #11547\n\nchangelog: none","shortMessageHtmlLink":"Auto merge of #12798 - Alexendoo:no-effect-path-statements, r=y21"}},{"before":"d6991abc5ac9451ad1c91d68aeb28b816f326265","after":"a86378086b443b86f967288fb1b9498aaa171f8d","ref":"refs/heads/master","pushedAt":"2024-05-14T08:50:01.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12794 - J-ZhengLi:issue9251, r=blyxyas\n\nimprove [`match_same_arms`] messages, enable rustfix test\n\ncloses: #9251\n\ndon't worry about the commit size, most of them are generated\n\n---\n\nchangelog: improve [`match_same_arms`] lint messages","shortMessageHtmlLink":"Auto merge of #12794 - J-ZhengLi:issue9251, r=blyxyas"}},{"before":"48339705bc928de634876a12d5ca10a68b3d813d","after":"a86378086b443b86f967288fb1b9498aaa171f8d","ref":"refs/heads/auto","pushedAt":"2024-05-14T08:42:25.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12794 - J-ZhengLi:issue9251, r=blyxyas\n\nimprove [`match_same_arms`] messages, enable rustfix test\n\ncloses: #9251\n\ndon't worry about the commit size, most of them are generated\n\n---\n\nchangelog: improve [`match_same_arms`] lint messages","shortMessageHtmlLink":"Auto merge of #12794 - J-ZhengLi:issue9251, r=blyxyas"}},{"before":"d6991abc5ac9451ad1c91d68aeb28b816f326265","after":"48339705bc928de634876a12d5ca10a68b3d813d","ref":"refs/heads/auto","pushedAt":"2024-05-13T22:12:46.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12794 - J-ZhengLi:issue9251, r=blyxyas\n\nimprove [`match_same_arms`] messages, enable rustfix test\n\ncloses: #9251\n\ndon't worry about the commit size, most of them are generated\n\n---\n\nchangelog: improve [`match_same_arms`] lint messages","shortMessageHtmlLink":"Auto merge of #12794 - J-ZhengLi:issue9251, r=blyxyas"}},{"before":"a4a1a7365d60280b83d83374fda97742fb959239","after":"d6991abc5ac9451ad1c91d68aeb28b816f326265","ref":"refs/heads/master","pushedAt":"2024-05-13T13:27:50.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #12764 - lrh2000:ignore-place, r=blyxyas\n\n`significant_drop_in_scrutinee`: Fix false positives due to false drops of place expressions\n\nPlace expressions do not really create temporaries, so they will not create significant drops. For example, the following code snippet is quite good (#8963):\n```rust\nfn main() {\n let x = std::sync::Mutex::new(vec![1, 2, 3]);\n let x_guard = x.lock().unwrap();\n match x_guard[0] {\n 1 => println!(\"1!\"),\n x => println!(\"{x}\"),\n }\n drop(x_guard); // Some \"usage\"\n}\n```\n\nAlso, the previous logic thinks that references like `&MutexGuard<_>`/`Ref<'_, MutexGuard<'_, _>>` have significant drops, which is simply not true, so it is fixed together in this PR.\n\nFixes https://github.com/rust-lang/rust-clippy/issues/8963\nFixes https://github.com/rust-lang/rust-clippy/issues/9072\n\nchangelog: [`significant_drop_in_scrutinee`]: Fix false positives due to false drops of place expressions.\n\nr? `@blyxyas`","shortMessageHtmlLink":"Auto merge of #12764 - lrh2000:ignore-place, r=blyxyas"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAETdU6lAA","startCursor":null,"endCursor":null}},"title":"Activity · rust-lang/rust-clippy"}