Merge tag 'rust-fixes-6.5-rc7' of https://github.com/Rust-for-Linux/linux

Pull rust fix from Miguel Ojeda:

- Macros: fix 'HAS_*' redefinition by the '#[vtable]' macro
under conditional compilation

* tag 'rust-fixes-6.5-rc7' of https://github.com/Rust-for-Linux/linux:
rust: macros: vtable: fix `HAS_*` redefinition (`gen_const_name`)

Changed files
+1
rust
macros
+1
rust/macros/vtable.rs
··· 74 74 const {gen_const_name}: bool = false;", 75 75 ) 76 76 .unwrap(); 77 + consts.insert(gen_const_name); 77 78 } 78 79 } else { 79 80 const_items = "const USE_VTABLE_ATTR: () = ();".to_owned();