hobofan/ambassador

Attribute panics on associated types

SuperFluffy opened this issue · 0 comments

I want to delegate a trait that has associated types, but the adding the delegatable_trait attribute causes a panic.

use ambassador::{
    delegatable_trait,
};

#[delegatable_trait]
trait WithAssocType {
    type Assoc;
}
error: custom attribute panicked
 --> src/lib.rs:6:1
  |
6 | #[delegatable_trait]
  | ^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: not implemented