summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/no_std-primitive.rs
blob: 22fd392dd36c349fc062f7363423c6dc40ce4ec7 (plain)
1
2
3
4
5
6
#![no_std]

/// Link to [intra-doc link][u8]
// @has 'no_std_primitive/fn.foo.html' '//a[@href="{{channel}}/core/primitive.u8.html"]' 'intra-doc link'
// @has - '//a[@href="{{channel}}/core/primitive.u8.html"]' 'u8'
pub fn foo() -> u8 {}