about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2018-08-05Fix incremental testsvarkor-2/+4
2018-08-05Add special support for libcvarkor-6/+3
2018-08-05Add support for feature attributes on macrosvarkor-4/+3
2018-08-05Convert unknown_features lint into an errorvarkor-575/+247
2018-08-05Turn the duplicate feature lint into an errorvarkor-48/+46
2018-08-05Remove unnecessary feature attributes that sneaked invarkor-16/+0
2018-08-05Remove obsolete tests in tidyvarkor-32/+3
These have been replaced by more reliable checks in the compiler itself.
2018-08-05Remove panic-runtime opt-outvarkor-9/+0
2018-08-05Add a test for feature attribute consistencyvarkor-0/+41
Note that this doesn't test consistency of some properties, like `reason`.
2018-08-05Add test for duplicate featuresvarkor-0/+40
2018-08-05Add a test for unknown featuresvarkor-0/+29
2018-08-05Fix test/uivarkor-7/+7
2018-08-05Fix test/compile-failvarkor-216/+231
2018-08-05Fix test/run-passvarkor-85/+36
2018-08-05Fix test/run-failvarkor-6/+0
2018-08-05Fix test/debuginfovarkor-1/+0
2018-08-05Get around tidy bugvarkor-4/+4
2018-08-05Add duplicity lint for lang featuresvarkor-29/+38
2018-08-05Add a lint for duplicate feature attributesvarkor-0/+15
2018-08-05Trigger stable feature lint for lib featuresvarkor-0/+10
2018-08-05Add error for inconsistent stability `since` valuevarkor-0/+15
2018-08-05Add lint for unknown feature attributesvarkor-28/+268
2018-08-05Correct invalid feature attributesvarkor-46/+6
2018-08-05Remove unnecessary or invalid feature attributesvarkor-39/+3
2018-08-05Auto merge of #52959 - matthewjasper:closure-spans, r=pnkfelixbors-330/+1253
[NLL] Use smaller spans for errors involving closure captures Closes #51170 Closes #46599 Error messages involving closures now point to the captured variable/closure args. r? @pnkfelix
2018-08-05Auto merge of #52991 - nikomatsakis:nll-escaping-into-return, r=pnkfelixbors-65/+331
avoid computing liveness for locals that escape into statics Fixes #52713 I poked at this on the plane and I think it's working -- but I want to do a bit more investigation and double check. The idea is to identify those local variables where the entire value will "escape" into the return -- for them, we don't need to compute liveness, since we know that the outlives relations from the return type will force those regions to be equal to free regions. This should help with html5ever in particular. - [x] test performance - [x] verify correctness - [x] add comments r? @pnkfelix cc @lqd
2018-08-05remove unused tcx argumentNiko Matsakis-15/+10
2018-08-05Auto merge of #53078 - alexcrichton:update-cargo, r=Mark-Simulacrumbors-0/+0
Update cargo to fix Rust 2018 build scripts
2018-08-04Update cargo to fix Rust 2018 build scriptsAlex Crichton-0/+0
2018-08-04Auto merge of #53057 - nrc:update, r=kennytmbors-39/+25
Update rustfmt, RLS, Clippy r? @kennytm Fixes RLS build and updates RLS and Rustfmt to their 1.0 RCs
2018-08-05Update rustfmt and RLSNick Cameron-39/+25
2018-08-04Auto merge of #52827 - GuillaumeGomez:generic-impls, r=QuietMisdreavusbors-329/+481
rustdoc: clean up generic impls r? @QuietMisdreavus
2018-08-04Auto merge of #52758 - Mark-Simulacrum:session-cleanup, r=pnkfelixbors-346/+313
Cleanup for librustc::session Some rather straightforward cleanup. Each commit mostly stands alone.
2018-08-04Rollup merge of #53062 - ljedrz:redundant_field_names, r=Mark-Simulacrumkennytm-50/+50
Remove redundant field names in structs
2018-08-04Remove redundant field names in structsljedrz-50/+50
2018-08-04Use diagnostic API on SessionMark Rousskov-4/+4
2018-08-04Move share_generics getter onto options directlyMark Rousskov-25/+25
2018-08-04Move basic_options to impl of DefaultMark Rousskov-68/+70
2018-08-04Simplify some handling of target_pointer_widthMark Rousskov-35/+6
2018-08-04Normalize DebugInfoLevel to standard styleMark Rousskov-40/+38
2018-08-04Normalize EntryFnType variants to standard styleMark Rousskov-14/+14
2018-08-04Normalize variants of Passes to standard styleMark Rousskov-15/+12
2018-08-04Normalize variants of CrateType to standard styleMark Rousskov-145/+144
This is a clippy-breaking change.
2018-08-04Privatize some exports from code_statsMark Rousskov-2/+2
2018-08-04Update to masterGuillaume Gomez-50/+128
2018-08-04Rollup merge of #53050 - carols10cents:rustdoc-moar-room, r=GuillaumeGomezkennytm-1/+1
Make left column of rustdoc search results narrower To make more room for the description of the item The description often has useful text that helps disambiguate between search results, but very little of it is shown. As a side effect, this breaks the alignment between the search results and the "In Return Types" tab, which tends to line up above the description-- up until I started investigating this, I thought "In Names"/"In Parameters"/"In Return Types" were column headers and I just never saw search results that had info for the "In Parameters" middle column! Now, with the two columns of search results each taking up about a half, they look more like tabs than column headers. Types that are long still wrap and look good-- I made some artificially long types in the following screenshots. Before screenshot: <img width="1258" alt="screen shot 2018-08-03 at 8 32 35 pm" src="https://user-images.githubusercontent.com/193874/43670805-56e3b3b4-975e-11e8-9296-600837d03de2.png"> After screenshot: <img width="1239" alt="screen shot 2018-08-03 at 8 31 17 pm" src="https://user-images.githubusercontent.com/193874/43670810-6591f9ac-975e-11e8-9e12-4ea9ab1e5806.png">
2018-08-04Rollup merge of #51919 - tbu-:pr_num_to_from_bytes2, r=SimonSapinkennytm-18/+90
Provide `{to,from}_{ne,le,be}_bytes` functions on integers If one doesn't view integers as containers of bytes, converting them to bytes necessarily needs the specfication of encoding. I think Rust is a language that wants to be explicit. The `to_bytes` function is basically the opposite of that – it converts an integer into the native byte representation, but there's no mention (in the function name) of it being very much platform dependent. Therefore, I think it would be better to replace that method by three methods, the explicit `to_ne_bytes` ("native endian") which does the same thing and `to_{le,be}_bytes` which return the little- resp. big-endian encoding.
2018-08-04Remove FinderTrait and move its functions into DocContextGuillaume Gomez-180/+150
2018-08-04Improve functions namingGuillaume Gomez-13/+13
2018-08-04Fix dyn objectsGuillaume Gomez-2/+2