-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix test function checker in unwrap_used
, expect_used
#10391
Conversation
r? @xFrednet (rustbot has picked a reviewer for you, use r? to override) |
unwrap_used
, expect_used
Thank you for the PR, the changes look good to me :) @bors r+ |
Fix test function checker in `unwrap_used`, `expect_used` After #9686 , `unwrap` and `expect` in integration tests and raw test functions won't be allowed. fixes #10011 fixes #10238 fixes #10264 --- changelog: Fix: [`expect_used`], [`unwrap_used`], [`dbg_macro`], [`print_stdout`], [`print_stderr`]: No longer lint in test functions, if the related configuration is set [#10391](#10391) <!-- changelog_checked -->
💔 Test failed - checks-action_test |
Forget to run |
No problem at all, I also forgot about it, that's what the CI is for :). @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
1 similar comment
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
rust-lang/rust-clippy#10264 was fixed by rust-lang/rust-clippy#10391. Use nightly Clippy to get the fix.
rust-lang/rust-clippy#10264 was fixed by rust-lang/rust-clippy#10391. Use nightly Clippy to get the fix.
rust-lang/rust-clippy#10264 was fixed by rust-lang/rust-clippy#10391. Use nightly Clippy to get the fix.
rust-lang/rust-clippy#10264 was fixed by rust-lang/rust-clippy#10391. Use nightly Clippy to get the fix.
rust-lang/rust-clippy#10264 was fixed by rust-lang/rust-clippy#10391. Use nightly Clippy to get the fix.
After #9686 ,
unwrap
andexpect
in integration tests and raw test functions won't be allowed.fixes #10011
fixes #10238
fixes #10264
changelog: Fix: [
expect_used
], [unwrap_used
], [dbg_macro
], [print_stdout
], [print_stderr
]: No longer lint in test functions, if the related configuration is set#10391