mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-27 16:07:46 +00:00
Rollup merge of #148395 - Kobzol:generalize-branch-references, r=marcoieni
Generalize branch references It should be safe to merge this before the rename, and I'd like to do that, so we can test if beta/stable PRs work. r? ``@marcoieni``
This commit is contained in:
commit
6474a0ed00
@ -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)?)+) => {}; }
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user