Skip to content

Commit c207f69

Browse files
authored
Remove mention about nightly toolchain which is no longer needed (eupn#107)
1 parent 7b65feb commit c207f69

File tree

4 files changed

+1
-17
lines changed

4 files changed

+1
-17
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ jobs:
2121
with:
2222
toolchain: ${{ matrix.rust }}
2323

24-
# A nightly toolchain is required for cargo-expand to work, even if the
25-
# toolchain with which tests are run is not nightly.
26-
- run: rustup toolchain install nightly
27-
if: matrix.rust != 'nightly'
28-
2924
- uses: taiki-e/cache-cargo-install-action@v1
3025
with:
3126
tool: cargo-expand

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Please refer to the [documentation](https://docs.rs/macrotest).
1919

2020
## Example
2121

22-
Install nightly rust and [`cargo expand`].
22+
Install [`cargo expand`].
2323

2424
Add to your crate's Cargo.toml:
2525

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@
7474
//! cargo install cargo-expand
7575
//! ```
7676
//!
77-
//! A **nightly** compiler is required for this tool to work, so it must be installed as well.
78-
//!
7977
//! ## Setting up a test project
8078
//!
8179
//! In your crate that provides procedural or declarative macros, under the `tests` directory,

src/message.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@ pub(crate) fn message_expansion_error(msg: Vec<u8>) {
5959
eprintln!("\tcargo install cargo-expand");
6060
eprintln!();
6161
}
62-
63-
// No nightly installed, make a suggestion
64-
if msg.starts_with("error: toolchain '") && msg.ends_with("is not installed") {
65-
eprintln!("You have `cargo expand` installed but it requires *nightly* compiler to be installed as well.");
66-
eprintln!("To install it via rustup, run:");
67-
eprintln!();
68-
eprintln!("\trustup toolchain install nightly");
69-
eprintln!();
70-
}
7162
} else {
7263
eprintln!("<unprintable>");
7364
}

0 commit comments

Comments
 (0)