rust/src/test
Aaron Hill 3ed96a6d63
Point at the call spawn when overflow occurs during monomorphization
This improves the output for issue #72577, but there's still more work
to be done.

Currently, an overflow error during monomorphization results in an error
that points at the function we were unable to monomorphize. However, we
don't point at the call that caused the monomorphization to happen. In
the overflow occurs in a large recursive function, it may be difficult
to determine where the issue is.

This commit tracks and `Span` information during collection of
`MonoItem`s, which is used when emitting an overflow error. `MonoItem`
itself is unchanged, so this only affects
`src/librustc_mir/monomorphize/collector.rs`
2020-06-22 14:35:42 -04:00
..
assembly Add initial asm!() support for hexagon 2020-06-16 08:58:13 -05:00
auxiliary test: Fix warnings in rust_test_helpers.c 2020-05-06 23:54:05 +03:00
codegen Auto merge of #73563 - Manishearth:rollup-oowgwwm, r=Manishearth 2020-06-20 22:53:46 +00:00
codegen-units Change how compiler-builtins gets many CGUs 2020-06-15 07:38:00 -07:00
compile-fail Rollup merge of #72934 - christianpoveda:mut-borrows-in-consts, r=oli-obk 2020-06-19 19:42:51 -07:00
debuginfo Implement new gdb/lldb pretty-printers 2020-06-09 16:13:11 +03:00
incremental Auto merge of #72520 - jonas-schievink:cleanup-userty, r=matthewjasper 2020-05-25 06:17:15 +00:00
mir-opt Auto merge of #71911 - wesleywiser:const_prop_small_cleanups, r=oli-obk 2020-06-21 05:56:26 +00:00
pretty asm: Allow multiple template strings; interpret them as newline-separated 2020-06-15 12:35:27 -07:00
run-make Enable static-pie for the x86_64-unknown-linux-musl target 2020-06-15 14:04:48 +02:00
run-make-fulldeps compiletest: Add directives to detect sanitizer support 2020-06-13 14:24:30 +02:00
run-pass-valgrind
rustdoc Rollup merge of #73452 - matthewjasper:auto-rec, r=nikomatsakis 2020-06-19 19:43:07 -07:00
rustdoc-js Make current crate aliases go first 2020-05-14 11:36:02 +02:00
rustdoc-js-std Make current crate aliases go first 2020-05-14 11:36:02 +02:00
rustdoc-ui remove extra space from crate-level doctest names 2020-05-15 23:56:23 -04:00
rustfix
ui Point at the call spawn when overflow occurs during monomorphization 2020-06-22 14:35:42 -04:00
ui-fulldeps make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
COMPILER_TESTS.md