If the trait has same function name, the `vtable` macroReviewed-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>
will redefine its `gen_const_name`, e.g.:
```rust
#[vtable]
pub trait Foo {
#[cfg(CONFIG_X)]
fn bar();
#[cfg(not(CONFIG_X))]
fn bar(x: usize);
}
```
Use `HashSet` to avoid this.
Signed-off-by: Qingsong Chen <changxian.cqs@xxxxxxxxxxxx>
---
[...]