rust/src/librustdoc
bors 7750c3d46b Auto merge of #73513 - oli-obk:const_binop_overflow, r=estebank
Show the values and computation that would overflow a const evaluation or propagation

Fixes #71134

In contrast to the example in the issue it doesn't use individual spans for each operand. The effort required to implement that is quite high compared to the little (if at all) benefit it would bring to diagnostics.

cc @shepmaster

The way this is implemented it is also fairly easy to do the same for overflow panics at runtime, but that should be done in a separate PR since it may have runtime performance implications.
2020-06-26 14:08:46 +00:00
..
clean Auto merge of #73513 - oli-obk:const_binop_overflow, r=estebank 2020-06-26 14:08:46 +00:00
html Rollup merge of #72967 - integer32llc:prevent-default-arrows, r=kinnison 2020-06-26 00:38:58 -07:00
passes Rollup merge of #73183 - Manishearth:intra-doc-macro, r=GuillaumeGomez 2020-06-11 13:16:08 +02:00
test Normalize syntax::edition imports. 2020-01-02 19:31:38 +01:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml Update pulldown-cmark dependency 2020-02-14 22:39:45 +01:00
config.rs Fix clippy warnings 2020-05-11 17:13:32 +02:00
core.rs properly handle feature gated lints 2020-06-05 13:52:34 -07:00
docfs.rs Clean up rustdoc source code 2020-05-08 15:08:15 +02:00
doctree.rs Support configurable deny-warnings for all in-tree crates. 2020-06-25 21:17:21 -07:00
externalfiles.rs nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
fold.rs Format the world 2019-12-22 17:42:47 -05:00
lib.rs Remove uses of Vec::remove_item 2020-06-20 12:12:28 +02:00
markdown.rs End unification of exit codes in librustdoc 2020-05-09 13:37:26 +02:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
test.rs Support configurable deny-warnings for all in-tree crates. 2020-06-25 21:17:21 -07:00
theme.rs Expand and remove try_something macro. 2020-04-02 19:55:56 +02:00
visit_ast.rs Support configurable deny-warnings for all in-tree crates. 2020-06-25 21:17:21 -07:00
visit_lib.rs rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00

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