diff options
| author | kennytm <kennytm@gmail.com> | 2018-06-28 06:15:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-28 06:15:40 +0800 |
| commit | 770d0fba6370b3793aaf8fc44e9aecd46018ed04 (patch) | |
| tree | 423bd018f35fb0f99d12429a4b6dafd74f9a0dc2 /src/libsyntax | |
| parent | 1ebd9adef4e65deb6f34d99b516c592cb9a06b38 (diff) | |
| parent | 9f6bdb9409b5081f681349a3c92b857eae534fa4 (diff) | |
| download | rust-770d0fba6370b3793aaf8fc44e9aecd46018ed04.tar.gz rust-770d0fba6370b3793aaf8fc44e9aecd46018ed04.zip | |
Rollup merge of #51799 - mark-i-m:lower_case_feature_gate, r=mark-i-m
Lower case some feature gate error messages
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index c813ec1977b..6d55b3de75d 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -1359,17 +1359,17 @@ pub const EXPLAIN_LITERAL_MATCHER: &'static str = ":literal fragment specifier is experimental and subject to change"; pub const EXPLAIN_UNSIZED_TUPLE_COERCION: &'static str = - "Unsized tuple coercion is not stable enough for use and is subject to change"; + "unsized tuple coercion is not stable enough for use and is subject to change"; pub const EXPLAIN_MACRO_AT_MOST_ONCE_REP: &'static str = - "Using the `?` macro Kleene operator for \"at most one\" repetition is unstable"; + "using the `?` macro Kleene operator for \"at most one\" repetition is unstable"; pub const EXPLAIN_MACROS_IN_EXTERN: &'static str = - "Macro invocations in `extern {}` blocks are experimental."; + "macro invocations in `extern {}` blocks are experimental."; // mention proc-macros when enabled pub const EXPLAIN_PROC_MACROS_IN_EXTERN: &'static str = - "Macro and proc-macro invocations in `extern {}` blocks are experimental."; + "macro and proc-macro invocations in `extern {}` blocks are experimental."; struct PostExpansionVisitor<'a> { context: &'a Context<'a>, |
