luaur_analysis/methods/cfg_builder_block_scope_operator_assign.rs
1use crate::records::block_scope::BlockScope;
2
3impl BlockScope {
4 /// In C++, this method is deleted to prevent copying.
5 /// In Rust, `BlockScope` does not implement `Clone` or `Copy`,
6 /// so an explicit assignment operator is not provided.
7 #[allow(dead_code)]
8 fn operator_assign(&mut self, _other: &BlockScope) -> &mut BlockScope {
9 panic!("BlockScope is not assignable");
10 }
11}