Matthias Krüger
Matthias Krüger
Successful merges: - #131654 (Various fixes for Xous) - #131743 (rustc_metadata: minor tidying) - #131823 (Bump libc to 0.2.161) - #131850 (Missing parenthesis) - #131857 (Allow dropping dyn principal) r?...
auto-reduced (treereduce-rust): ````rust fn main() { let fail = -0x8000_0000_0000_0000_0000_0000_0000_0000; } ```` original: ````rust //@ check-pass #![warn(warn)] fn main() { let ok = 0b0111_1111i8; //~WARNING literal out of range for...
snippet: ````rust #![feature(abi_x86_interrupt)] pub extern "x86-interrupt" fn f(_: ()) {} ```` Version information ```` rustc 1.81.0-nightly (9fdbfe144 2024-06-13) binary: rustc commit-hash: 9fdbfe1441a82e96e3f99ae199ff5348d8d948ae commit-date: 2024-06-13 host: x86_64-unknown-linux-gnu release: 1.81.0-nightly LLVM version:...
auto-reduced (treereduce-rust): ````rust #![feature(abi_x86_interrupt)] #![feature(unsized_fn_params)] struct Test; impl Test { pub extern "x86-interrupt" fn test(_a: str) {} } ```` original: ````rust struct Test; impl Test { pub extern "x86-interrupt" fn...
snippet: ````rust #![feature(arbitrary_self_types, dispatch_from_dyn)] use std::ops::{Deref, DispatchFromDyn}; trait Trait { fn MONO_BUF(self: T) -> dyn Trait; } fn main() {} ```` Version information ```` rustc 1.80.0-nightly (366da30d5 2024-05-31) binary: rustc...
auto-reduced (treereduce-rust): ````rust #[repr(packed)] #[repr(u32)] enum E { A, B, C, } fn main() { union InvalidTag { int: u32, e: E, } let _invalid_tag = InvalidTag { int: 4...
auto-reduced (treereduce-rust): ````rust mod assert { use std::mem::{Assume, BikeshedIntrinsicFrom}; pub fn is_transmutable() where Dst: BikeshedIntrinsicFrom, { } } #[repr(u32)] enum Ox00 { V = 0x00, } enum Ox01 { V...
snippet: ````rust #![feature(generic_const_exprs)] struct Outer(); impl Outer where [(); A + (B * 2)]:, { fn i() -> Self { Self } } fn main() { Outer::::o(); } ```` Version...
### Summary https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/items_after_statements.rs#L17  https://rust-lang.github.io/rust-clippy/master/index.html#/items_aft
I was looking at rls which has this warning ```` error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact. --> rls-rustc/src/lib.rs:22:5 |...