We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fee1c7f commit b676088Copy full SHA for b676088
2 files changed
src/cargo/ops/cargo_new.rs
@@ -253,8 +253,7 @@ fn check_name(
253
if restricted_names::is_non_ascii_name(name) {
254
shell.warn(format!(
255
"the name `{}` contains non-ASCII characters\n\
256
- Support for non-ASCII crate names is experimental and only valid \
257
- on the nightly toolchain.",
+ Non-ASCII crate names are not supported by Rust.",
258
name
259
))?;
260
}
tests/testsuite/new.rs
@@ -435,7 +435,7 @@ fn non_ascii_name() {
435
.with_stderr(
436
"\
437
[WARNING] the name `Привет` contains non-ASCII characters
438
-Support for non-ASCII crate names is experimental and only valid on the nightly toolchain.
+Non-ASCII crate names are not supported by Rust.
439
[CREATED] binary (application) `Привет` package
440
",
441
)
0 commit comments