rust/src/librustc
Mazdak Farrokhzad 145abd88ca
Rollup merge of #61844 - AaronKutch:master, r=Centril
Change `...` to `..=` where applicable

This is mainly to fix #61816, but I decided to manually check a few thousand `...` throughout the code base to check for any other cases. I think I found a documentation bug in `src\libsyntax\ast.rs` where both `1..` and `1...` where mentioned. If there is internal support for both `1..` and `1..=` (that can exist before error handling gets to it), then I can add that back.
There were some other cases that look like `// struct Closure<'l0...'li, T0...Tj, CK, CS, U0...Uk> {`, `// <P0 as Trait<P1...Pn>>::Foo: 'a`, and `assert!(min <= max, "discriminant range is {}...{}", min, max);`, but I am not sure if I should change those.
There are a bunch of cases in the `/test/` directory that could be changed, but I presume I should just leave those be.
2019-06-15 17:45:06 +02:00
..
benches Remove licenses 2018-12-25 21:08:33 -07:00
cfg Unify all uses of 'gcx and 'tcx. 2019-06-14 18:58:23 +03:00
dep_graph Unify all uses of 'gcx and 'tcx. 2019-06-14 18:58:23 +03:00
hir Rollup merge of #61844 - AaronKutch:master, r=Centril 2019-06-15 17:45:06 +02:00
ich Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03:00
infer Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03:00
lint Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03:00
middle Rollup merge of #61824 - rust-lang:single_derive, r=eddyb 2019-06-15 17:45:04 +02:00
mir Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03:00
query query-fy type_name 2019-06-02 23:20:36 -05:00
session Auto merge of #61741 - Centril:rollup-fgro5kz, r=Centril 2019-06-11 23:29:20 +00:00
traits Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03:00
ty Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03:00
util rustc: deny(unused_lifetimes). 2019-06-11 14:11:58 +03:00
arena.rs rustc: collect upvars from HIR, instead of during name resolution. 2019-06-01 20:44:05 +03:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Bump measureme dependency to 0.3 2019-05-13 22:15:55 -04:00
error_codes.rs Fix typos 2019-06-13 00:37:30 +09:00
lib.rs rustc: deny(unused_lifetimes). 2019-06-11 14:11:58 +03:00
macros.rs Unify all uses of 'gcx and 'tcx. 2019-06-14 18:58:23 +03:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00

For more information about how rustc works, see the rustc guide.