rust/src/libsyntax
Mazdak Farrokhzad eaeb1138c6
Rollup merge of #67480 - rossmacarthur:fix-41260-avoid-issue-0-part-2, r=Centril
Require issue = "none" over issue = "0" in unstable attributes

These changes make the use of `issue = "none"` required in unstable attributes throughout the compiler.

Notes:
- #66299 is now in beta so `issue = "none"` is accepted.
- The `tidy` tool now fails on `issue = "0"`.
- Tests that used `issue = "0"` were changed to use `issue = "none"`, except for _one_ that asserts `issue = "0"` can still be used.
- The compiler still allows `issue = "0"` because some submodules require it, this could be disallowed once these are updated.

Resolves #41260

r? @varkor
2019-12-22 02:40:04 +01:00
..
ast libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
attr Rollup merge of #67480 - rossmacarthur:fix-41260-avoid-issue-0-part-2, r=Centril 2019-12-22 02:40:04 +01:00
diagnostics Update to use new librustc_error_codes library 2019-11-14 13:05:42 +01:00
expand rustc_metadata: Move has_global_allocator from session to cstore 2019-11-28 20:59:57 +03:00
feature_gate Rollup merge of #67131 - Centril:item-merge, r=petrochenkov 2019-12-20 17:22:19 +01:00
print 1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}. 2019-12-20 22:22:44 +01:00
util Unify assoc item visitors more. 2019-12-12 18:01:33 +01:00
ast.rs Rollup merge of #67355 - Centril:merge-mut, r=oli-obk 2019-12-21 15:29:42 +01:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Move early lint declarations to librustc_session 2019-12-03 12:19:14 -05:00
early_buffered_lints.rs Move BufferedEarlyLint to librustc_session 2019-12-03 12:19:16 -05:00
entry.rs Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
lib.rs introduce 'type AttrVec' 2019-12-20 22:53:40 +01:00
mut_visit.rs introduce 'type AttrVec' 2019-12-20 22:53:40 +01:00
ptr.rs Remove outdated references to @T from comments 2019-12-17 23:41:55 +01:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
show_span.rs Rename rustc_errors dependency in rust 2018 crates 2019-02-13 00:28:52 +09:00
token.rs Remove ast::{Impl,Trait}{Item,ItemKind}. 2019-12-12 18:05:05 +01:00
tokenstream.rs syntax: Remove redundant span from ast::Mac 2019-12-02 21:56:34 +03:00
visit.rs AssocImplKind::{Method -> Fn}. 2019-12-12 18:05:05 +01:00

The syntax crate contains those things concerned purely with syntax that is, the AST ("abstract syntax tree"), parser, pretty-printer, lexer, macro expander, and utilities for traversing ASTs.

For more information about how these things work in rustc, see the rustc guide: