Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
9
third-party/vendor/downcast-rs/tests/import_via_macro_use.rs
vendored
Normal file
9
third-party/vendor/downcast-rs/tests/import_via_macro_use.rs
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#[macro_use]
|
||||
extern crate downcast_rs;
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
use downcast_rs::Downcast;
|
||||
trait Trait: Downcast {}
|
||||
impl_downcast!(Trait);
|
||||
}
|
||||
8
third-party/vendor/downcast-rs/tests/use_via_namespace.rs
vendored
Normal file
8
third-party/vendor/downcast-rs/tests/use_via_namespace.rs
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extern crate downcast_rs;
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
use downcast_rs::Downcast;
|
||||
trait Trait: Downcast {}
|
||||
downcast_rs::impl_downcast!(Trait);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue