rust/tests/rustdoc-json/traits/uses_extern_trait.rs

6 lines
155 B
Rust
Raw Normal View History

#![no_std]
pub fn drop_default<T: core::default::Default>(_x: T) {}
// @!has "$.index[*][?(@.name=='Debug')]"
// @!has "$.index[*][?(@.name=='Default')]"