]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/static-root-path.rs
Suggest defining type parameter when appropriate
[rust.git] / src / test / rustdoc / static-root-path.rs
1 // compile-flags:-Z unstable-options --static-root-path /cache/
2
3 // @has static_root_path/struct.SomeStruct.html
4 // @matches - '"/cache/main\.js"'
5 // @!matches - '"\.\./main\.js"'
6 // @matches - '"\.\./search-index\.js"'
7 // @!matches - '"/cache/search-index\.js"'
8 pub struct SomeStruct;
9
10 // @has src/static_root_path/static-root-path.rs.html
11 // @matches - '"/cache/source-script\.js"'
12 // @!matches - '"\.\./\.\./source-script\.js"'
13 // @matches - '"\.\./\.\./source-files.js"'
14 // @!matches - '"/cache/source-files\.js"'
15
16 // @has settings.html
17 // @matches - '/cache/settings\.js'
18 // @!matches - '\./settings\.js'