Unnamed repository; edit this file 'description' to name the repository.
Generalize branch references to HEAD
Jakub Beránek 6 months ago
parent 9a0fa09 · commit f0ff861
-rw-r--r--crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs2
-rw-r--r--crates/ide-db/src/generated/lints.rs4
-rw-r--r--docs/book/src/non_cargo_based_projects.md2
3 files changed, 4 insertions, 4 deletions
diff --git a/crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs b/crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs
index 2c94f0e8d0..9997455432 100644
--- a/crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs
+++ b/crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs
@@ -98,7 +98,7 @@ macro_rules! m2 { () => ( ${invalid()} ) }
#[test]
fn test_rustc_issue_57597() {
- // <https://github.com/rust-lang/rust/blob/master/tests/ui/issues/issue-57597.rs>
+ // <https://github.com/rust-lang/rust/blob/HEAD/tests/ui/issues/issue-57597.rs>
check(
r#"
macro_rules! m0 { ($($($i:ident)?)+) => {}; }
diff --git a/crates/ide-db/src/generated/lints.rs b/crates/ide-db/src/generated/lints.rs
index 14bc380586..5eb7e92ffb 100644
--- a/crates/ide-db/src/generated/lints.rs
+++ b/crates/ide-db/src/generated/lints.rs
@@ -7511,7 +7511,7 @@ Most lang items are defined by `core`, but if you're trying to build
an executable without the `std` crate, you might run into the need
for lang item definitions.
-[personality]: https://github.com/rust-lang/rust/blob/master/library/std/src/sys/personality/gcc.rs
+[personality]: https://github.com/rust-lang/rust/blob/HEAD/library/std/src/sys/personality/gcc.rs
## Example: Implementing a `Box`
@@ -7586,7 +7586,7 @@ return a valid pointer, and so needs to do the check internally.
An up-to-date list of all language items can be found [here] in the compiler code.
-[here]: https://github.com/rust-lang/rust/blob/master/compiler/rustc_hir/src/lang_items.rs
+[here]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_hir/src/lang_items.rs
"##,
default_severity: Severity::Allow,
warn_since: None,
diff --git a/docs/book/src/non_cargo_based_projects.md b/docs/book/src/non_cargo_based_projects.md
index befb631ec0..74489a9046 100644
--- a/docs/book/src/non_cargo_based_projects.md
+++ b/docs/book/src/non_cargo_based_projects.md
@@ -31,7 +31,7 @@ interface ProjectJson {
/// It should point to the directory where std,
/// core, and friends can be found:
///
- /// https://github.com/rust-lang/rust/tree/master/library.
+ /// https://github.com/rust-lang/rust/tree/HEAD/library.
///
/// If provided, rust-analyzer automatically adds
/// dependencies on sysroot crates. Conversely,