about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2023-01-11 14:18:55 +0900
committerGitHub <noreply@github.com>2023-01-11 14:18:55 +0900
commit8f57062970241bb1ef3c9aa2de1134f4baa5f37f (patch)
treea116a65e0fe8ad2b3b936c12664b761a022acf5c /src
parente078d8271182c0923c671a05d43d2b6e9d8d6e42 (diff)
parentd0c47bdcc9139f366e5bac0af33a9846b2d0e4f8 (diff)
Rollup merge of #106653 - ehuss:allow-features-help, r=nilstrieb
Fix help docs for -Zallow-features

The arguments for -Zallow-features are comma-separated (`parse_opt_comma_list`), not space separated (`parse_list`).
Diffstat (limited to 'src')
-rw-r--r--src/test/rustdoc-ui/z-help.stdout2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-ui/z-help.stdout b/src/test/rustdoc-ui/z-help.stdout
index 537dc92be19..43f30f3d6e8 100644
--- a/src/test/rustdoc-ui/z-help.stdout
+++ b/src/test/rustdoc-ui/z-help.stdout
@@ -1,4 +1,4 @@
-    -Z                          allow-features=val -- only allow the listed language features to be enabled in code (space separated)
+    -Z                          allow-features=val -- only allow the listed language features to be enabled in code (comma separated)
     -Z                       always-encode-mir=val -- encode MIR of all functions into the crate metadata (default: no)
     -Z                            asm-comments=val -- generate comments into the assembly (may change behavior) (default: no)
     -Z                       assert-incr-state=val -- assert that the incremental cache is in given state: either `loaded` or `not-loaded`.