Commit Graph

14 Commits

Author SHA1 Message Date
Charles Lew 25e864e198 Implement mixed script confusable lint. 2020-06-26 01:39:31 +08:00
Charles Lew ef24faf130 Refactor non_ascii_idents lints, exclude ascii pair for confusable_idents lint. 2020-06-23 00:06:14 +08:00
Charles Lew f633dd385f Implement crate level only lints checking. 2020-06-18 09:53:12 +08:00
Camille GILLOT d4e143ed2f Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
Charles Lew f3ec00a5fe Add a fast code path to optimize `confusable_idents` lint for ASCII code base. 2020-05-03 02:31:13 +08:00
Charles Lew c05961c2db Implement `confusable_idents` lint. 2020-05-03 02:30:50 +08:00
Vadim Petrochenkov e08c279eac Rename `syntax` to `rustc_ast` in source code 2020-02-29 21:59:09 +03:00
jumbatm d246385122 Run RustFmt 2020-02-11 19:49:01 +10:00
jumbatm 7c58ffe874 Invert control in struct_lint_level.
Caller now passes in a `decorate` function, which is only run if the
lint is allowed.
2020-02-11 19:47:40 +10:00
Mazdak Farrokhzad f58db20362 move rustc::lint::{context, passes} to rustc_lint.
Also do some cleanup of the interface.
2020-01-11 07:42:26 +01:00
Mazdak Farrokhzad 45f27643db prepare moving HardwiredLints to rustc_session 2020-01-11 03:26:16 +01:00
Charles Lew 485e98aae2 Implement uncommon_codepoints lint. 2020-01-03 08:20:12 +08:00
Mark Rousskov a06baa56b9 Format the world 2019-12-22 17:42:47 -05:00
Zack M. Davis 6de8e39e26 in which the `non_ascii_idents` lint appears (RFC 2457)
RFC 2457 declares: "A `non_ascii_idents` lint is added to the
compiler. This lint is allow by default."
2019-07-06 17:23:17 -07:00