1 // compile-flags: -Zunstable-options --generate-link-to-definition
5 // @has 'src/foo/check-source-code-urls-to-def-std.rs.html'
9 // @has - '//a[@href="{{channel}}/std/primitive.u32.html"]' 'u32'
10 // @has - '//a[@href="{{channel}}/std/primitive.str.html"]' 'str'
11 // @has - '//a[@href="{{channel}}/std/primitive.bool.html"]' 'bool'
12 // @has - '//a[@href="../../src/foo/check-source-code-urls-to-def-std.rs.html#7"]' 'babar'
13 pub fn foo(a: u32, b: &str, c: String) {