-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 6 pull requests #90200
Rollup of 6 pull requests #90200
Commits on Oct 7, 2021
-
Add updated support for example-analyzer
Move rendering of examples into Finalize design Cleanup, rename found -> scraped Softer yellow Clean up dead code Document scrape_examples More simplification and documentation Remove extra css Test
Configuration menu - View commit details
-
Copy full SHA for 4b3f82a - Browse repository at this point
Copy the full SHA 4b3f82aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7831fee - Browse repository at this point
Copy the full SHA 7831feeView commit details -
Factor scraping and rendering into separate calls to rustdoc
Simplify toggle UI logic, add workspace root for URLs
Configuration menu - View commit details
-
Copy full SHA for 2855bf0 - Browse repository at this point
Copy the full SHA 2855bf0View commit details -
Generate example source files with corresponding links
Add display name Fix remaining merge conflicts Only embed code for items containing examples
Configuration menu - View commit details
-
Copy full SHA for b6338e7 - Browse repository at this point
Copy the full SHA b6338e7View commit details -
Improve styling Start to clean up code, add comments
Configuration menu - View commit details
-
Copy full SHA for eea8f0a - Browse repository at this point
Copy the full SHA eea8f0aView commit details -
Move highlighting logic from JS to Rust
Continue migrating JS functionality Cleanup Fix compile error Clean up the diff Set toggle font to sans-serif
Configuration menu - View commit details
-
Copy full SHA for 55bb517 - Browse repository at this point
Copy the full SHA 55bb517View commit details -
Reduce blur size, fix example width bug, add better error handling fo…
…r I/O issues Remove repository url Fix formatting Fix file_span in print_src Formatting
Configuration menu - View commit details
-
Copy full SHA for 18edcf8 - Browse repository at this point
Copy the full SHA 18edcf8View commit details -
Add styles for non-white themes
Tweak colors Tabs New link heading style
Configuration menu - View commit details
-
Copy full SHA for a1cb194 - Browse repository at this point
Copy the full SHA a1cb194View commit details -
* Move call location logic from function constructor to rendering * Fix issue with macro spans in scraping examples * Clean up example loading logic Documentation / newtype for DecorationInfo Fix line number display Serialize edition of call site, other small cleanup
Configuration menu - View commit details
-
Copy full SHA for 829b1a9 - Browse repository at this point
Copy the full SHA 829b1a9View commit details -
Add target crates as inputs to reduce size of intermediates
Add tests for module-path remapping and scrape example options Find all crates with a given name
Configuration menu - View commit details
-
Copy full SHA for 5c05b3c - Browse repository at this point
Copy the full SHA 5c05b3cView commit details -
Change serialized format to use DefPathHash instead of custom String
Move test to rustdoc-ui Fix test writing to wrong directory Formatting Fix test Add FIXME Remove raw multiline strings
Configuration menu - View commit details
-
Copy full SHA for df5e3a6 - Browse repository at this point
Copy the full SHA df5e3a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25323ec - Browse repository at this point
Copy the full SHA 25323ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55731bb - Browse repository at this point
Copy the full SHA 55731bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed8e12f - Browse repository at this point
Copy the full SHA ed8e12fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5584c79 - Browse repository at this point
Copy the full SHA 5584c79View commit details -
Move some expansion logic into generation-time, fix section header li…
…nks, remove ID from line numbers, fix horizontal scrolling on non-expanded elements
Configuration menu - View commit details
-
Copy full SHA for bb383ed - Browse repository at this point
Copy the full SHA bb383edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b141a2 - Browse repository at this point
Copy the full SHA 8b141a2View commit details
Commits on Oct 8, 2021
-
Move more scrape-examples logic from JS to rust
Fix failing test Add missing backslash Fix padding issue with horizontal scrollbar
Configuration menu - View commit details
-
Copy full SHA for e22e858 - Browse repository at this point
Copy the full SHA e22e858View commit details -
Configuration menu - View commit details
-
Copy full SHA for f10dcee - Browse repository at this point
Copy the full SHA f10dceeView commit details
Commits on Oct 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9e4958a - Browse repository at this point
Copy the full SHA 9e4958aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1616f3 - Browse repository at this point
Copy the full SHA b1616f3View commit details
Commits on Oct 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 59b36bc - Browse repository at this point
Copy the full SHA 59b36bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a400f10 - Browse repository at this point
Copy the full SHA a400f10View commit details
Commits on Oct 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 24a71cb - Browse repository at this point
Copy the full SHA 24a71cbView commit details
Commits on Oct 18, 2021
-
Make all proc-macro back-compat lints deny-by-default
The affected crates have had plenty of time to update. By keeping these as lints rather than making them hard errors, we ensure that downstream crates will still be able to compile, even if they transitive depend on broken versions of the affected crates. This should hopefully discourage anyone from writing any new code which relies on the backwards-compatibility behavior.
Configuration menu - View commit details
-
Copy full SHA for 02e4d0b - Browse repository at this point
Copy the full SHA 02e4d0bView commit details
Commits on Oct 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a836676 - Browse repository at this point
Copy the full SHA a836676View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a87d1a - Browse repository at this point
Copy the full SHA 5a87d1aView commit details
Commits on Oct 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8f80d86 - Browse repository at this point
Copy the full SHA 8f80d86View commit details
Commits on Oct 22, 2021
-
Revert def_id addition from clean::Function, add test for
scrape-examples options
Configuration menu - View commit details
-
Copy full SHA for d1c29c6 - Browse repository at this point
Copy the full SHA d1c29c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd5d614 - Browse repository at this point
Copy the full SHA fd5d614View commit details
Commits on Oct 23, 2021
-
Reset qualifs when a storage of a local ends
to ensure that the local qualifs are affected by the state from previous loop iterations only if the local is kept alive. The change should be forward compatible with a stricter handling of indirect assignments, since storage dead invalidates all existing pointers to the local.
Configuration menu - View commit details
-
Copy full SHA for e4aeeca - Browse repository at this point
Copy the full SHA e4aeecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd25491 - Browse repository at this point
Copy the full SHA fd25491View commit details -
Rollup merge of rust-lang#85833 - willcrichton:example-analyzer, r=jy…
…n514 Scrape code examples from examples/ directory for Rustdoc Adds support for the functionality described in rust-lang/rfcs#3123 Matching changes to Cargo are here: rust-lang/cargo#9525 Live demo here: https://willcrichton.net/example-analyzer/warp/trait.Filter.html#method.and
Configuration menu - View commit details
-
Copy full SHA for a7f2bc1 - Browse repository at this point
Copy the full SHA a7f2bc1View commit details -
Rollup merge of rust-lang#88041 - Aaron1011:deny-proc-macro-hack, r=w…
…esleywiser Make all proc-macro back-compat lints deny-by-default The affected crates have had plenty of time to update. By keeping these as lints rather than making them hard errors, we ensure that downstream crates will still be able to compile, even if they transitive depend on broken versions of the affected crates. This should hopefully discourage anyone from writing any new code which relies on the backwards-compatibility behavior.
Configuration menu - View commit details
-
Copy full SHA for 0c85cd4 - Browse repository at this point
Copy the full SHA 0c85cd4View commit details -
Rollup merge of rust-lang#89829 - voidc:assoc-const-variance, r=lcnr
Consider types appearing in const expressions to be invariant This is an approach to fix rust-lang#80977. Currently, a type parameter which is only used in a constant expression is considered bivariant and will trigger error E0392 *"parameter T is never used"*. Here is a short example: ```rust pub trait Foo { const N: usize; } struct Bar<T: Foo>([u8; T::N]) where [(); T::N]:; ``` ([playgound](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015&gist=b51a272853f75925e72efc1597478aa5)) While it is possible to silence this error by adding a `PhantomData<T>` field, I think the better solution would be to make `T` invariant. This would be analogous to the invariance constraints added for associated types. However, I'm quite new to the compiler and unsure whether this is the right approach. r? `@varkor` (since you authored rust-lang#60058)
Configuration menu - View commit details
-
Copy full SHA for 809e5c8 - Browse repository at this point
Copy the full SHA 809e5c8View commit details -
Rollup merge of rust-lang#90062 - cuviper:min-llvm-11, r=nikic
Update the minimum external LLVM to 11 With this change, we'll have stable support for LLVM 11..=13. For reference, the previous increase to LLVM 10 was rust-lang#83387. r? `@nagisa` `@nikic`
Configuration menu - View commit details
-
Copy full SHA for 684402e - Browse repository at this point
Copy the full SHA 684402eView commit details -
Rollup merge of rust-lang#90168 - tmiasko:const-qualif-storage, r=mat…
…thewjasper Reset qualifs when a storage of a local ends Reset qualifs when a storage of a local ends to ensure that the local qualifs are affected by the state from previous loop iterations only if the local is kept alive. The change should be forward compatible with a stricter handling of indirect assignments, since storage dead invalidates all existing pointers to the local.
Configuration menu - View commit details
-
Copy full SHA for 6584391 - Browse repository at this point
Copy the full SHA 6584391View commit details -
Rollup merge of rust-lang#90198 - the8472:available-parallelism-runti…
…me, r=joshtriplett Add caveat about changing parallelism and function call overhead As discussed in rust-lang#89670 (comment) r? `@joshtriplett`
Configuration menu - View commit details
-
Copy full SHA for f99f296 - Browse repository at this point
Copy the full SHA f99f296View commit details