9 lines
161 B
Rust
9 lines
161 B
Rust
// aux-build: rpitit.rs
|
|
|
|
extern crate rpitit;
|
|
|
|
fn main() {
|
|
let _: &dyn rpitit::Foo = todo!();
|
|
//~^ ERROR the trait `Foo` cannot be made into an object
|
|
}
|