mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Fix release channel detection
See bootstrap code in rust-lang/rust for versioning details: e49122fb1c/src/bootstrap/lib.rs (L1244)
This commit is contained in:
parent
1f92641093
commit
4db87f9346
4 changed files with 6 additions and 6 deletions
|
@ -111,8 +111,9 @@ impl FixtureWithProjectMeta {
|
|||
/// //- minicore: sized
|
||||
/// ```
|
||||
///
|
||||
/// That will include predefined proc macros and a subset of `libcore` into the fixture, see
|
||||
/// `minicore.rs` for what's available.
|
||||
/// That will set toolchain to nightly and include predefined proc macros and a subset of
|
||||
/// `libcore` into the fixture, see `minicore.rs` for what's available. Note that toolchain
|
||||
/// defaults to stable.
|
||||
pub fn parse(ra_fixture: &str) -> Self {
|
||||
let fixture = trim_indent(ra_fixture);
|
||||
let mut fixture = fixture.as_str();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue