Skip to content

Commit df4ed94

Browse files
committed
Auto merge of #12722 - jonas-schievink:update-urls, r=jonas-schievink
internal: Update remaining GitHub URLs The old links still work, but it seems less confusing to have them point to the right repo
2 parents 09abd76 + 6c6ae96 commit df4ed94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+145
-145
lines changed

crates/base-db/src/input.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl SourceRoot {
6969
/// `CrateGraph` by lowering `cargo metadata` output.
7070
///
7171
/// `CrateGraph` is `!Serialize` by design, see
72-
/// <https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/architecture.md#serialization>
72+
/// <https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/architecture.md#serialization>
7373
#[derive(Debug, Clone, Default /* Serialize, Deserialize */)]
7474
pub struct CrateGraph {
7575
arena: FxHashMap<CrateId, CrateData>,
@@ -482,7 +482,7 @@ impl CrateGraph {
482482
None
483483
}
484484

485-
// Work around for https://github.com/rust-analyzer/rust-analyzer/issues/6038.
485+
// Work around for https://github.com/rust-lang/rust-analyzer/issues/6038.
486486
// As hacky as it gets.
487487
pub fn patch_cfg_if(&mut self) -> bool {
488488
let cfg_if = self.hacky_find_crate("cfg_if");

crates/hir-def/src/body/tests/block.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ fn foo() {
345345

346346
#[test]
347347
fn is_visible_from_same_def_map() {
348-
// Regression test for https://github.com/rust-analyzer/rust-analyzer/issues/9481
348+
// Regression test for https://github.com/rust-lang/rust-analyzer/issues/9481
349349
cov_mark::check!(is_visible_from_same_block_def_map);
350350
check_at(
351351
r#"

crates/hir-def/src/macro_expansion_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub fn identity_when_valid(_attr: TokenStream, item: TokenStream) -> TokenStream
7272
// fact.
7373
//
7474
// This is the usual
75-
// <https://github.com/rust-analyzer/rust-analyzer/issues/3407>
75+
// <https://github.com/rust-lang/rust-analyzer/issues/3407>
7676
// resolve/record tension!
7777
//
7878
// So here we try to do a resolve, which is necessary a heuristic. For macro

crates/hir-def/src/macro_expansion_tests/mbe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ abs!( = > #);
11781178
#[test]
11791179
fn test_tt_with_composite_without_space() {
11801180
// Test macro input without any spaces
1181-
// See https://github.com/rust-analyzer/rust-analyzer/issues/6692
1181+
// See https://github.com/rust-lang/rust-analyzer/issues/6692
11821182
check(
11831183
r#"
11841184
macro_rules! m { ($ op:tt, $j:path) => ( ok!(); ) }

crates/hir-def/src/nameres/tests/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ fn unresolved_attributes_fall_back_track_per_file_moditems() {
759759

760760
#[test]
761761
fn unresolved_attrs_extern_block_hang() {
762-
// Regression test for https://github.com/rust-analyzer/rust-analyzer/issues/8905
762+
// Regression test for https://github.com/rust-lang/rust-analyzer/issues/8905
763763
check(
764764
r#"
765765
#[unresolved]
@@ -823,7 +823,7 @@ fn derive() {}
823823

824824
#[test]
825825
fn unresolved_attr_with_cfg_attr_hang() {
826-
// Another regression test for https://github.com/rust-analyzer/rust-analyzer/issues/8905
826+
// Another regression test for https://github.com/rust-lang/rust-analyzer/issues/8905
827827
check(
828828
r#"
829829
#[cfg_attr(not(off), unresolved, unresolved)]

crates/hir-def/src/type_ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ pub enum ConstScalar {
434434
/// Case of an unknown value that rustc might know but we don't
435435
// FIXME: this is a hack to get around chalk not being able to represent unevaluatable
436436
// constants
437-
// https://github.com/rust-analyzer/rust-analyzer/pull/8813#issuecomment-840679177
437+
// https://github.com/rust-lang/rust-analyzer/pull/8813#issuecomment-840679177
438438
// https://rust-lang.zulipchat.com/#narrow/stream/144729-wg-traits/topic/Handling.20non.20evaluatable.20constants'.20equality/near/238386348
439439
Unknown,
440440
}

crates/hir-expand/src/builtin_fn_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ fn concat_expand(
400400
for (i, mut t) in tt.token_trees.iter().enumerate() {
401401
// FIXME: hack on top of a hack: `$e:expr` captures get surrounded in parentheses
402402
// to ensure the right parsing order, so skip the parentheses here. Ideally we'd
403-
// implement rustc's model. cc https://github.com/rust-analyzer/rust-analyzer/pull/10623
403+
// implement rustc's model. cc https://github.com/rust-lang/rust-analyzer/pull/10623
404404
if let tt::TokenTree::Subtree(tt::Subtree { delimiter: Some(delim), token_trees }) = t {
405405
if let [tt] = &**token_trees {
406406
if delim.kind == tt::DelimiterKind::Parenthesis {

crates/hir-ty/src/tests/regression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ fn test() {
985985

986986
#[test]
987987
fn cfg_tail() {
988-
// https://github.com/rust-analyzer/rust-analyzer/issues/8378
988+
// https://github.com/rust-lang/rust-analyzer/issues/8378
989989
check_infer(
990990
r#"
991991
fn fake_tail(){

crates/ide-assists/src/handlers/add_explicit_type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ fn f() {
187187
)
188188
}
189189

190-
/// https://github.com/rust-analyzer/rust-analyzer/issues/2922
190+
/// https://github.com/rust-lang/rust-analyzer/issues/2922
191191
#[test]
192192
fn regression_issue_2922() {
193193
check_assist(

crates/ide-assists/src/handlers/apply_demorgan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ fn f() { !(S <= S || S < S) }
222222
check_assist(apply_demorgan, "fn f() { (x ||$0 x) }", "fn f() { !(!x && !x) }")
223223
}
224224

225-
// https://github.com/rust-analyzer/rust-analyzer/issues/10963
225+
// https://github.com/rust-lang/rust-analyzer/issues/10963
226226
#[test]
227227
fn demorgan_doesnt_hang() {
228228
check_assist(

0 commit comments

Comments
 (0)