mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Add toolchain
meta for tests
This commit is contained in:
parent
5d41affc77
commit
584d2697cc
6 changed files with 66 additions and 44 deletions
|
@ -116,7 +116,7 @@ fn external_docs_doc_url_std_crate() {
|
|||
//- /main.rs crate:std
|
||||
use self$0;
|
||||
"#,
|
||||
expect![[r#"https://doc.rust-lang.org/nightly/std/index.html"#]],
|
||||
expect!["https://doc.rust-lang.org/stable/std/index.html"],
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -4242,7 +4242,7 @@ fn foo() {
|
|||
/// [threads]: ../book/ch16-01-threads.html#using-move-closures-with-threads
|
||||
mod move_keyword {}
|
||||
"#,
|
||||
expect
|
||||
[closures](https://doc.rust-lang.org/nightly/book/ch13-01-closures.html)
|
||||
[threads](https://doc.rust-lang.org/nightly/book/ch16-01-threads.html#using-move-closures-with-threads)
|
||||
[closure](https://doc.rust-lang.org/stable/book/ch13-01-closures.html)
|
||||
[closures](https://doc.rust-lang.org/stable/book/ch13-01-closures.html)
|
||||
[threads](https://doc.rust-lang.org/stable/book/ch16-01-threads.html#using-move-closures-with-threads)
|
||||
<https://doc.rust-lang.org/nightly/book/ch13-01-closures.html>
|
||||
"##]],
|
||||
"#]],
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue