rust/src/test/ui/feature-gate
Zack M. Davis e77110e1f6 don't see issue #0
The unstable-feature attribute requires an issue (neglecting it is
E0547), which gets used in the error messages. Unfortunately, there are
some cases where "0" is apparently used a placeholder where no issue
exists, directing the user to see the (nonexistent) issue #0. (It would
have been better to either let `issue` be optional—compare to how issue
is an `Option<u32>` in the feature-gate declarations in
libsyntax/feature-gate.rs—or actually require that an issue be created.)
Rather than endeavoring to change how `#[unstable]` works at this time
(given competing contributor and reviewer priorities), this simple patch
proposes the less-ambitious solution of just not adding the "(see
issue)" note when the number is zero.

Resolves #49983.
2018-04-15 11:12:33 -07:00
..
issue-43106-gating-of-bench.rs Add backticks to main not found errors. 2018-03-14 12:23:29 -07:00
issue-43106-gating-of-bench.stderr Add backticks to main not found errors. 2018-03-14 12:23:29 -07:00
issue-43106-gating-of-builtin-attrs.rs fix more typos found by codespell. 2018-02-17 17:38:49 +01:00
issue-43106-gating-of-builtin-attrs.stderr Update tests 2018-03-16 11:52:46 +01:00
issue-43106-gating-of-deprecated.rs Migrate a few feature gate tests to ui 2017-12-07 10:14:39 +01:00
issue-43106-gating-of-deprecated.stderr Update tests 2018-03-16 11:52:46 +01:00
issue-43106-gating-of-derive-2.rs Migrate a few feature gate tests to ui 2017-12-07 10:14:39 +01:00
issue-43106-gating-of-derive-2.stderr Update UI tests 2018-02-26 20:24:02 +03:00
issue-43106-gating-of-derive.rs Migrate a few feature gate tests to ui 2017-12-07 10:14:39 +01:00
issue-43106-gating-of-derive.stderr Update UI tests 2018-02-26 20:24:02 +03:00
issue-43106-gating-of-inline.rs Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-inline.stderr Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-macro_escape.rs Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
issue-43106-gating-of-macro_escape.stderr Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-macro_use.rs Migrate a few feature gate tests to ui 2017-12-07 10:14:39 +01:00
issue-43106-gating-of-macro_use.stderr Update UI tests 2018-02-26 20:24:02 +03:00
issue-43106-gating-of-proc_macro_derive.rs Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-proc_macro_derive.stderr Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-rustc_deprecated.rs Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-rustc_deprecated.stderr Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-stable.rs Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-stable.stderr Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-test.rs Add backticks to main not found errors. 2018-03-14 12:23:29 -07:00
issue-43106-gating-of-test.stderr Add backticks to main not found errors. 2018-03-14 12:23:29 -07:00
issue-43106-gating-of-unstable.rs Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-43106-gating-of-unstable.stderr Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-49983-see-issue-0.rs don't see issue #0 2018-04-15 11:12:33 -07:00
issue-49983-see-issue-0.stderr don't see issue #0 2018-04-15 11:12:33 -07:00