rust/src/etc
bors bc001fa07f Auto merge of #49881 - varkor:partialord-opt, r=Manishearth
Fix derive(PartialOrd) and optimise final field operation

```rust
// Before (`lt` on 2-field struct)
self.f1 < other.f1 || (!(other.f1 < self.f1) &&
(self.f2 < other.f2 || (!(other.f2 < self.f2) &&
(false)
))
)

// After
self.f1 < other.f1 || (!(other.f1 < self.f1) &&
self.f2 < other.f2
)

// Before (`le` on 2-field struct)
self.f1 < other.f1 || (!(other.f1 < self.f1) &&
(self.f2 < other.f2 || (!(other.f2 < self.f2) &&
(true)
))
)

// After
self.f1 < other.f1 || (self.f1 == other.f1 &&
self.f2 <= other.f2
)
```

(The big diff is mainly because of a past faulty rustfmt application that I corrected 😒)

Fixes #49650 and fixes #49505.
2018-04-15 03:54:15 +00:00
..
installer fix typos in src/{bootstrap,ci,etc,lib{backtrace,core,fmt_macros}} 2018-02-10 12:22:57 +01:00
natvis *.natvis: Use s8 postfixes to correctly interpret rust strings as UTF-8. 2017-07-21 03:39:56 -07:00
platform-intrinsics fix typos in src/{bootstrap,ci,etc,lib{backtrace,core,fmt_macros}} 2018-02-10 12:22:57 +01:00
test-float-parse fix typos in src/{bootstrap,ci,etc,lib{backtrace,core,fmt_macros}} 2018-02-10 12:22:57 +01:00
third-party Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
CONFIGS.md Add sublime-rust to CONFIGS.md. 2016-08-22 01:24:01 -04:00
cat-and-grep.sh Use GNU version of fgrep/egrep tool if available 2018-03-22 14:38:05 +01:00
ctags.rust Update the ctags rules and targets. 2015-07-30 06:35:42 +10:00
debugger_pretty_printers_common.py Add compat_str() which works with unicode in both Python 2 and 3 2017-06-09 19:09:02 +03:00
dec2flt_table.py Speed up dec2flt fast path with additional tables. 2016-01-12 22:25:16 +01:00
gdb_load_rust_pretty_printers.py debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty printers enabled. 2014-12-30 17:26:13 +01:00
gdb_rust_pretty_printing.py Implement display_hint in gdb pretty printers 2017-10-06 13:05:53 -06:00
generate-deriving-span-tests.py Auto merge of #49881 - varkor:partialord-opt, r=Manishearth 2018-04-15 03:54:15 +00:00
generate-keyword-tests.py Fix keyword parsing tests 2016-04-24 21:35:50 +03:00
htmldocck.py let htmldocck.py check for directories 2017-09-30 13:28:09 -05:00
indenter fix some python3 incompatibilities 2017-11-16 13:34:13 -05:00
lldb_batchmode.py debuginfo-test: Fix #45086. 2017-10-08 01:39:34 +08:00
lldb_rust_formatters.py Add pretty printing of unions in debuggers 2017-01-01 19:34:06 +10:00
rust-gdb Rename environment variable `GDB_CMD` to `RUST_GDB` to prevent ambiguity 2017-04-20 11:20:33 -04:00
rust-lldb Make rust-lldb warn about unsupported versions of LLDB 2016-07-04 19:37:36 -04:00
rust-windbg.cmd Distribute intrinsic.natvis with the compiler for windows-msvc. 2017-12-17 23:27:40 +01:00
wasm32-shim.js rust: Import LLD for linking wasm objects 2018-03-03 20:21:35 -08:00