summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-json/traits/uses_extern_trait.rs
blob: 430dd1543f56180cc75bb4d6d77ee91e43240a89 (plain)
1
2
3
4
5
6
7
#![no_std]
pub fn drop_default<T: core::default::Default>(_x: T) {}

// FIXME(adotinthevoid): Theses shouldn't be here
// @has "$.index[*][?(@.name=='Debug')]"
// @set Debug_fmt = "$.index[*][?(@.name=='Debug')].inner.items[*]"
// @has "$.index[*][?(@.name=='fmt')].id" $Debug_fmt