rust/src/libsyntax_ext
bors d711dc9d57 Auto merge of #50011 - varkor:partialord-opt-ii, r=Manishearth
Ensure derive(PartialOrd) is no longer accidentally exponential

Previously, two comparison operations would be generated for each field, each of which could delegate to another derived PartialOrd. Now we use ordering and optional chaining to ensure each pair of fields is only compared once, addressing https://github.com/rust-lang/rust/issues/49650#issuecomment-379467572.

Closes #49505.

r? @Manishearth (sorry for changing it again so soon!)

Close #50755
2018-05-15 03:14:46 +00:00
..
deriving Auto merge of #50011 - varkor:partialord-opt-ii, r=Manishearth 2018-05-15 03:14:46 +00:00
asm.rs Add error codes for libsyntax_ext 2018-04-14 17:25:35 +02:00
assert.rs Fix assertion message generation 2018-05-06 12:13:32 +09:00
Cargo.toml rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
cfg.rs Use Span::apply_mark where possible 2018-04-06 11:48:19 +03:00
compile_error.rs Stabilize the compile_error_macro feature 2017-07-25 07:09:31 -07:00
concat.rs Use Span::apply_mark where possible 2018-04-06 11:48:19 +03:00
concat_idents.rs forbid empty identifiers from concat_idents 2018-05-02 22:58:28 -04:00
diagnostics.rs Add tests and longer error explanation 2018-04-14 17:25:35 +02:00
env.rs Use Span::apply_mark where possible 2018-04-06 11:48:19 +03:00
format.rs Gensym arguments for format macro 2018-04-24 21:31:22 +01:00
format_foreign.rs use fmt::Result where applicable 2018-05-09 02:01:37 +02:00
global_asm.rs Rename Span::empty to Span::shrink_to_lo, add Span::shrink_to_hi 2018-03-17 22:12:21 +03:00
lib.rs rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
log_syntax.rs make emit_feature_err take a ParseSess 2016-09-26 07:07:41 +02:00
proc_macro_impl.rs Do not capture stderr in the compiler. Instead just panic silently for fatal errors 2018-01-26 04:52:30 +01:00
proc_macro_registrar.rs Use Span::apply_mark where possible 2018-04-06 11:48:19 +03:00
trace_macros.rs Move syntax::util::interner -> syntax::symbol, cleanup. 2016-11-20 23:40:20 +00:00