Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit df4ed94

Browse files
committed
Auto merge of rust-lang#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(

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ fn foo() -> Option<()> {
17931793
let v: &i32 = &t.0; // no deref, no parens, remove `&`
17941794
f1(t.0); // deref, no parens
17951795
f2(&t.0); // `&*` -> cancel out -> no deref, no parens
1796-
// https://github.com/rust-analyzer/rust-analyzer/issues/1109#issuecomment-658868639
1796+
// https://github.com/rust-lang/rust-analyzer/issues/1109#issuecomment-658868639
17971797
// let v: i32 = t.1.0; // no deref, no parens
17981798
let v: i32 = t.4.value; // no deref, no parens
17991799
t.0.do_stuff(); // deref, parens
@@ -1827,7 +1827,7 @@ fn foo() -> Option<()> {
18271827
let v: &i32 = _0; // no deref, no parens, remove `&`
18281828
f1(*_0); // deref, no parens
18291829
f2(_0); // `&*` -> cancel out -> no deref, no parens
1830-
// https://github.com/rust-analyzer/rust-analyzer/issues/1109#issuecomment-658868639
1830+
// https://github.com/rust-lang/rust-analyzer/issues/1109#issuecomment-658868639
18311831
// let v: i32 = t.1.0; // no deref, no parens
18321832
let v: i32 = _4.value; // no deref, no parens
18331833
(*_0).do_stuff(); // deref, parens

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ fn locals_defined_in_body(
10531053
body: &FunctionBody,
10541054
) -> FxIndexSet<Local> {
10551055
// FIXME: this doesn't work well with macros
1056-
// see https://github.com/rust-analyzer/rust-analyzer/pull/7535#discussion_r570048550
1056+
// see https://github.com/rust-lang/rust-analyzer/pull/7535#discussion_r570048550
10571057
let mut res = FxIndexSet::default();
10581058
body.walk_pat(&mut |pat| {
10591059
if let ast::Pat::IdentPat(pat) = pat {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mod tests {
6767

6868
#[test]
6969
fn flip_comma_before_punct() {
70-
// See https://github.com/rust-analyzer/rust-analyzer/issues/1619
70+
// See https://github.com/rust-lang/rust-analyzer/issues/1619
7171
// "Flip comma" assist shouldn't be applicable to the last comma in enum or struct
7272
// declaration body.
7373
check_assist_not_applicable(flip_comma, "pub enum Test { A,$0 }");
@@ -86,7 +86,7 @@ mod tests {
8686
#[test]
8787
fn flip_comma_not_applicable_for_macro_input() {
8888
// "Flip comma" assist shouldn't be applicable inside the macro call
89-
// See https://github.com/rust-analyzer/rust-analyzer/issues/7693
89+
// See https://github.com/rust-lang/rust-analyzer/issues/7693
9090
check_assist_not_applicable(flip_comma, r#"bar!(a,$0 b)"#);
9191
}
9292
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ mod tests {
150150

151151
#[test]
152152
fn test_remove_dbg_keep_semicolon_in_let() {
153-
// https://github.com/rust-analyzer/rust-analyzer/issues/5129#issuecomment-651399779
153+
// https://github.com/rust-lang/rust-analyzer/issues/5129#issuecomment-651399779
154154
check(
155155
r#"let res = $0dbg!(1 * 20); // needless comment"#,
156156
r#"let res = 1 * 20; // needless comment"#,

crates/ide-completion/src/completions/item_list/trait_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ impl Test for T {
411411
expect![[""]],
412412
);
413413

414-
// https://github.com/rust-analyzer/rust-analyzer/pull/5976#issuecomment-692332191
414+
// https://github.com/rust-lang/rust-analyzer/pull/5976#issuecomment-692332191
415415
check(
416416
r"
417417
trait Test { fn test(); fn test2(); }

crates/ide-completion/src/render/macro_.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ fn main() { foo! {$0} }
243243

244244
#[test]
245245
fn completes_macro_call_if_cursor_at_bang_token() {
246-
// Regression test for https://github.com/rust-analyzer/rust-analyzer/issues/9904
246+
// Regression test for https://github.com/rust-lang/rust-analyzer/issues/9904
247247
cov_mark::check!(completes_macro_call_if_cursor_at_bang_token);
248248
check_edit(
249249
"foo!",

crates/ide-db/src/rename.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ fn source_edit_from_name(edit: &mut TextEditBuilder, name: &ast::Name, new_name:
372372
// ^ insert `new_name: `
373373

374374
// FIXME: instead of splitting the shorthand, recursively trigger a rename of the
375-
// other name https://github.com/rust-analyzer/rust-analyzer/issues/6547
375+
// other name https://github.com/rust-lang/rust-analyzer/issues/6547
376376
edit.insert(ident_pat.syntax().text_range().start(), format!("{}: ", new_name));
377377
return true;
378378
}

crates/ide-diagnostics/src/handlers/macro_error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ macro_rules! compile_error { () => {} }
4141
#[test]
4242
fn eager_macro_concat() {
4343
// FIXME: this is incorrectly handling `$crate`, resulting in a wrong diagnostic.
44-
// See: https://github.com/rust-analyzer/rust-analyzer/issues/10300
44+
// See: https://github.com/rust-lang/rust-analyzer/issues/10300
4545

4646
check_diagnostics(
4747
r#"

crates/ide/src/syntax_highlighting.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ fn traverse(
357357
element
358358
};
359359

360-
// FIXME: do proper macro def highlighting https://github.com/rust-analyzer/rust-analyzer/issues/6232
360+
// FIXME: do proper macro def highlighting https://github.com/rust-lang/rust-analyzer/issues/6232
361361
// Skip metavariables from being highlighted to prevent keyword highlighting in them
362362
if descended_element.as_token().and_then(|t| macro_highlighter.highlight(t)).is_some() {
363363
continue;

crates/parser/test_data/parser/ok/0035_weird_exprs.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SOURCE_FILE
55
WHITESPACE "\n"
66
COMMENT "//! "
77
WHITESPACE "\n"
8-
COMMENT "//! Reported to rust-analyzer in https://github.com/rust-analyzer/rust-analyzer/issues/290"
8+
COMMENT "//! Reported to rust-analyzer in https://github.com/rust-lang/rust-analyzer/issues/290"
99
WHITESPACE "\n\n"
1010
ATTR
1111
POUND "#"

crates/parser/test_data/parser/ok/0035_weird_exprs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Adapted from a `rustc` test, which can be found at
22
//! https://github.com/rust-lang/rust/blob/6d34ec18c7d7e574553f6347ecf08e1e1c45c13d/src/test/run-pass/weird-exprs.rs.
33
//!
4-
//! Reported to rust-analyzer in https://github.com/rust-analyzer/rust-analyzer/issues/290
4+
//! Reported to rust-analyzer in https://github.com/rust-lang/rust-analyzer/issues/290
55
66
#![allow(non_camel_case_types)]
77
#![allow(dead_code)]

crates/parser/test_data/parser/ok/0036_fully_qualified.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SOURCE_FILE
2-
COMMENT "// https://github.com/rust-analyzer/rust-analyzer/issues/311"
2+
COMMENT "// https://github.com/rust-lang/rust-analyzer/issues/311"
33
WHITESPACE "\n\n"
44
FN
55
VISIBILITY

crates/parser/test_data/parser/ok/0036_fully_qualified.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://github.com/rust-analyzer/rust-analyzer/issues/311
1+
// https://github.com/rust-lang/rust-analyzer/issues/311
22

33
pub fn foo<S: Iterator>() -> String
44
where

crates/parser/test_data/parser/ok/0037_mod.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SOURCE_FILE
2-
COMMENT "// https://github.com/rust-analyzer/rust-analyzer/issues/357"
2+
COMMENT "// https://github.com/rust-lang/rust-analyzer/issues/357"
33
WHITESPACE "\n\n"
44
COMMENT "//! docs"
55
WHITESPACE "\n"

crates/parser/test_data/parser/ok/0037_mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://github.com/rust-analyzer/rust-analyzer/issues/357
1+
// https://github.com/rust-lang/rust-analyzer/issues/357
22

33
//! docs
44
// non-docs

crates/parser/test_data/parser/ok/0042_ufcs_call_list.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SOURCE_FILE
2-
COMMENT "// https://github.com/rust-analyzer/rust-analyzer/issues/596"
2+
COMMENT "// https://github.com/rust-lang/rust-analyzer/issues/596"
33
WHITESPACE "\n\n"
44
STRUCT
55
STRUCT_KW "struct"

crates/parser/test_data/parser/ok/0042_ufcs_call_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://github.com/rust-analyzer/rust-analyzer/issues/596
1+
// https://github.com/rust-lang/rust-analyzer/issues/596
22

33
struct Foo;
44

crates/parser/test_data/parser/ok/0043_complex_assignment.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SOURCE_FILE
2-
COMMENT "// https://github.com/rust-analyzer/rust-analyzer/issues/674"
2+
COMMENT "// https://github.com/rust-lang/rust-analyzer/issues/674"
33
WHITESPACE "\n\n"
44
STRUCT
55
STRUCT_KW "struct"

crates/parser/test_data/parser/ok/0043_complex_assignment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://github.com/rust-analyzer/rust-analyzer/issues/674
1+
// https://github.com/rust-lang/rust-analyzer/issues/674
22

33
struct Repr { raw: [u8; 1] }
44

crates/parser/test_data/parser/ok/0044_let_attrs.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SOURCE_FILE
22
FN
3-
COMMENT "// https://github.com/rust-analyzer/rust-analyzer/issues/677"
3+
COMMENT "// https://github.com/rust-lang/rust-analyzer/issues/677"
44
WHITESPACE "\n"
55
FN_KW "fn"
66
WHITESPACE " "

crates/parser/test_data/parser/ok/0044_let_attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://github.com/rust-analyzer/rust-analyzer/issues/677
1+
// https://github.com/rust-lang/rust-analyzer/issues/677
22
fn main() {
33
#[cfg(feature = "backtrace")]
44
let exit_code = panic::catch_unwind(move || main());

crates/parser/test_data/parser/ok/0045_block_attrs.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ SOURCE_FILE
138138
R_CURLY "}"
139139
WHITESPACE "\n\n"
140140
IMPL
141-
COMMENT "// https://github.com/rust-analyzer/rust-analyzer/issues/689"
141+
COMMENT "// https://github.com/rust-lang/rust-analyzer/issues/689"
142142
WHITESPACE "\n"
143143
IMPL_KW "impl"
144144
WHITESPACE " "

crates/parser/test_data/parser/ok/0045_block_attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn outer() {
1616
let _ = #[doc("Outer attributes are always allowed")] {};
1717
}
1818

19-
// https://github.com/rust-analyzer/rust-analyzer/issues/689
19+
// https://github.com/rust-lang/rust-analyzer/issues/689
2020
impl Whatever {
2121
fn salsa_event(&self, event_fn: impl Fn() -> Event<Self>) {
2222
#![allow(unused_variables)] // this is `inner_attr` of the block

crates/parser/test_data/parser/ok/0047_minus_in_inner_pattern.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SOURCE_FILE
2-
COMMENT "// https://github.com/rust-analyzer/rust-analyzer/issues/972"
2+
COMMENT "// https://github.com/rust-lang/rust-analyzer/issues/972"
33
WHITESPACE "\n\n"
44
FN
55
FN_KW "fn"

crates/parser/test_data/parser/ok/0047_minus_in_inner_pattern.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://github.com/rust-analyzer/rust-analyzer/issues/972
1+
// https://github.com/rust-lang/rust-analyzer/issues/972
22

33
fn main() {
44
match Some(-1) {

crates/parser/test_data/parser/ok/0048_compound_assignment.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SOURCE_FILE
2-
COMMENT "// https://github.com/rust-analyzer/rust-analyzer/pull/983"
2+
COMMENT "// https://github.com/rust-lang/rust-analyzer/pull/983"
33
WHITESPACE "\n\n"
44
FN
55
FN_KW "fn"

crates/parser/test_data/parser/ok/0048_compound_assignment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://github.com/rust-analyzer/rust-analyzer/pull/983
1+
// https://github.com/rust-lang/rust-analyzer/pull/983
22

33
fn compound_assignment() {
44
let mut a = 0;

crates/proc-macro-api/src/version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ fn read_section<'a>(dylib_binary: &'a [u8], section_name: &str) -> io::Result<&'
101101
/// * [version string bytes encoded in utf8] <- GET THIS BOI
102102
/// * [some more bytes that we don't really care but about still there] :-)
103103
/// Check this issue for more about the bytes layout:
104-
/// <https://github.com/rust-analyzer/rust-analyzer/issues/6174>
104+
/// <https://github.com/rust-lang/rust-analyzer/issues/6174>
105105
fn read_version(dylib_path: &AbsPath) -> io::Result<String> {
106106
let dylib_file = File::open(dylib_path)?;
107107
let dylib_mmaped = unsafe { Mmap::map(&dylib_file) }?;

crates/profile/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl Drop for Scope {
7575
///
7676
/// See this diff for how to profile completions:
7777
///
78-
/// <https://github.com/rust-analyzer/rust-analyzer/pull/5306>
78+
/// <https://github.com/rust-lang/rust-analyzer/pull/5306>
7979
#[derive(Debug)]
8080
pub struct CpuSpan {
8181
_private: (),

crates/project-model/src/workspace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ fn cargo_to_crate_graph(
579579
// add any targets except the library target, since those will not work correctly if
580580
// they use dev-dependencies.
581581
// In fact, they can break quite badly if multiple client workspaces get merged:
582-
// https://github.com/rust-analyzer/rust-analyzer/issues/11300
582+
// https://github.com/rust-lang/rust-analyzer/issues/11300
583583
continue;
584584
}
585585

crates/rust-analyzer/src/main_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> {
3838
//
3939
// https://docs.microsoft.com/en-us/windows/win32/procthread/scheduling-priorities
4040
// https://docs.microsoft.com/en-us/windows/win32/procthread/priority-boosts
41-
// https://github.com/rust-analyzer/rust-analyzer/issues/2835
41+
// https://github.com/rust-lang/rust-analyzer/issues/2835
4242
#[cfg(windows)]
4343
unsafe {
4444
use winapi::um::processthreadsapi::*;

crates/rust-analyzer/tests/slow-tests/tidy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ fn check_dbg(path: &Path, text: &str) {
344344

345345
fn check_test_attrs(path: &Path, text: &str) {
346346
let ignore_rule =
347-
"https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/style.md#ignore";
347+
"https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/style.md#ignore";
348348
let need_ignore: &[&str] = &[
349349
// This file.
350350
"slow-tests/tidy.rs",
@@ -365,7 +365,7 @@ fn check_test_attrs(path: &Path, text: &str) {
365365
}
366366

367367
let panic_rule =
368-
"https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/style.md#should_panic";
368+
"https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/style.md#should_panic";
369369
let need_panic: &[&str] = &[
370370
// This file.
371371
"slow-tests/tidy.rs",

crates/sourcegen/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl fmt::Display for Location {
125125
let name = self.file.file_name().unwrap();
126126
write!(
127127
f,
128-
"https://github.com/rust-analyzer/rust-analyzer/blob/master/{}#L{}[{}]",
128+
"https://github.com/rust-lang/rust-analyzer/blob/master/{}#L{}[{}]",
129129
path,
130130
self.line,
131131
name.to_str().unwrap()

0 commit comments

Comments
 (0)