{"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":"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"}},{"before":"a4a1a7365d60280b83d83374fda97742fb959239","after":"d6991abc5ac9451ad1c91d68aeb28b816f326265","ref":"refs/heads/auto","pushedAt":"2024-05-13T13:19: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"}},{"before":"1bc70a3d94712eeff8dbc2d9b998ad12acc16664","after":"21acb4194f6e185cdf1acf00cbbf9c98fbbfe2cc","ref":"refs/heads/gh-pages","pushedAt":"2024-05-12T16:43:14.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: a4a1a7365d60280b83d83374fda97742fb959239","shortMessageHtmlLink":"Automatic deploy to GitHub Pages: a4a1a73"}},{"before":"7cfb9a0d6fee91ad636a091f6a425521259f776a","after":"a4a1a7365d60280b83d83374fda97742fb959239","ref":"refs/heads/master","pushedAt":"2024-05-12T16:41:25.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 #12107 - y21:expr_metavars_in_unsafe, r=xFrednet\n\nnew lint: `macro_metavars_in_unsafe`\n\nThis implements a lint that I've been meaning to write for a while: a macro with an `expr` metavariable that is then expanded in an unsafe context. It's bad because it lets the user write unsafe code without an unsafe block.\n\nNote: this has gone through some major rewrites, so any comment before https://github.com/rust-lang/rust-clippy/pull/12107#issuecomment-2029503545 is outdated and was based on an older version that has since been completely rewritten.\n\nchangelog: new lint: [`macro_metavars_in_unsafe`]","shortMessageHtmlLink":"Auto merge of #12107 - y21:expr_metavars_in_unsafe, r=xFrednet"}},{"before":"323eca63579bef4a09ad9c990256a7fab588e061","after":"a4a1a7365d60280b83d83374fda97742fb959239","ref":"refs/heads/auto","pushedAt":"2024-05-12T16:32:42.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 #12107 - y21:expr_metavars_in_unsafe, r=xFrednet\n\nnew lint: `macro_metavars_in_unsafe`\n\nThis implements a lint that I've been meaning to write for a while: a macro with an `expr` metavariable that is then expanded in an unsafe context. It's bad because it lets the user write unsafe code without an unsafe block.\n\nNote: this has gone through some major rewrites, so any comment before https://github.com/rust-lang/rust-clippy/pull/12107#issuecomment-2029503545 is outdated and was based on an older version that has since been completely rewritten.\n\nchangelog: new lint: [`macro_metavars_in_unsafe`]","shortMessageHtmlLink":"Auto merge of #12107 - y21:expr_metavars_in_unsafe, r=xFrednet"}},{"before":"50e1065aed5e90300433af654acdb3334962bdc9","after":"323eca63579bef4a09ad9c990256a7fab588e061","ref":"refs/heads/auto","pushedAt":"2024-05-12T16:04:56.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 #12107 - y21:expr_metavars_in_unsafe, r=xFrednet\n\nnew lint: `macro_metavars_in_unsafe`\n\nThis implements a lint that I've been meaning to write for a while: a macro with an `expr` metavariable that is then expanded in an unsafe context. It's bad because it lets the user write unsafe code without an unsafe block.\n\nNote: this has gone through some major rewrites, so any comment before https://github.com/rust-lang/rust-clippy/pull/12107#issuecomment-2029503545 is outdated and was based on an older version that has since been completely rewritten.\n\nchangelog: new lint: [`macro_metavars_in_unsafe`]","shortMessageHtmlLink":"Auto merge of #12107 - y21:expr_metavars_in_unsafe, r=xFrednet"}},{"before":"7cfb9a0d6fee91ad636a091f6a425521259f776a","after":"50e1065aed5e90300433af654acdb3334962bdc9","ref":"refs/heads/auto","pushedAt":"2024-05-12T15:18:41.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 #12107 - y21:expr_metavars_in_unsafe, r=xFrednet\n\nnew lint: `macro_metavars_in_unsafe`\n\nThis implements a lint that I've been meaning to write for a while: a macro with an `expr` metavariable that is then expanded in an unsafe context. It's bad because it lets the user write unsafe code without an unsafe block.\n\nNote: this has gone through some major rewrites, so any comment before https://github.com/rust-lang/rust-clippy/pull/12107#issuecomment-2029503545 is outdated and was based on an older version that has since been completely rewritten.\n\nchangelog: new lint: [`macro_metavars_in_unsafe`]","shortMessageHtmlLink":"Auto merge of #12107 - y21:expr_metavars_in_unsafe, r=xFrednet"}},{"before":"5db38895c37112f693fcc54f91c9e524087dc4df","after":"1bc70a3d94712eeff8dbc2d9b998ad12acc16664","ref":"refs/heads/gh-pages","pushedAt":"2024-05-12T14:31:52.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: 7cfb9a0d6fee91ad636a091f6a425521259f776a","shortMessageHtmlLink":"Automatic deploy to GitHub Pages: 7cfb9a0"}},{"before":"9b446c7ff874e7f4dccbfe212da674c167714359","after":"7cfb9a0d6fee91ad636a091f6a425521259f776a","ref":"refs/heads/master","pushedAt":"2024-05-12T14:29:52.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 #11540 - J-ZhengLi:issue11443, r=xFrednet\n\nadd new lint that disallow renaming parameters in trait functions\n\nfixes: #11443\nfixes: #486\n\nchangelog: add new lint [`renamed_function_params`]\n\nNote that the lint name is not final, because I have a bad reputation in naming things, and I don't trust myself.","shortMessageHtmlLink":"Auto merge of #11540 - J-ZhengLi:issue11443, r=xFrednet"}},{"before":"9b446c7ff874e7f4dccbfe212da674c167714359","after":"7cfb9a0d6fee91ad636a091f6a425521259f776a","ref":"refs/heads/auto","pushedAt":"2024-05-12T14:21:24.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 #11540 - J-ZhengLi:issue11443, r=xFrednet\n\nadd new lint that disallow renaming parameters in trait functions\n\nfixes: #11443\nfixes: #486\n\nchangelog: add new lint [`renamed_function_params`]\n\nNote that the lint name is not final, because I have a bad reputation in naming things, and I don't trust myself.","shortMessageHtmlLink":"Auto merge of #11540 - J-ZhengLi:issue11443, r=xFrednet"}},{"before":"2b34abc88759a7399e77938a29709668b1b2017f","after":"9b446c7ff874e7f4dccbfe212da674c167714359","ref":"refs/heads/master","pushedAt":"2024-05-12T14:13: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 #12787 - J-ZhengLi:issue127311, r=blyxyas\n\nmake [`from_str_radix_10`] skip constant context\n\nfixes: #12731\n\n---\n\nchangelog: make [`from_str_radix_10`] skip constant context","shortMessageHtmlLink":"Auto merge of #12787 - J-ZhengLi:issue127311, r=blyxyas"}},{"before":"d47bc8a4d63a8352cbdb9399c5c59e6643184773","after":"9b446c7ff874e7f4dccbfe212da674c167714359","ref":"refs/heads/auto","pushedAt":"2024-05-12T14:03:56.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 #12787 - J-ZhengLi:issue127311, r=blyxyas\n\nmake [`from_str_radix_10`] skip constant context\n\nfixes: #12731\n\n---\n\nchangelog: make [`from_str_radix_10`] skip constant context","shortMessageHtmlLink":"Auto merge of #12787 - J-ZhengLi:issue127311, r=blyxyas"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAES4H4eAA","startCursor":null,"endCursor":null}},"title":"Activity · rust-lang/rust-clippy"}