]> git.lizzy.rs Git - rust.git/commit
Auto merge of #76843 - kornelski:longtypetofile, r=ecstatic-morse
authorbors <bors@rust-lang.org>
Mon, 21 Sep 2020 08:20:38 +0000 (08:20 +0000)
committerbors <bors@rust-lang.org>
Mon, 21 Sep 2020 08:20:38 +0000 (08:20 +0000)
commit0433fdf93b0346e136c03ed49c0e90346035f191
tree7b4a9c6fc8b3e17d0cab3e2dc4e2aff81b5669ec
parenta409a233e02b1864d1b76495a1f946bb56c7aeb2
parent34d3c7df80dc687e184d8bfa456e851cad9839de
Auto merge of #76843 - kornelski:longtypetofile, r=ecstatic-morse

Let user see the full type of type-length limit error

Seeing the full type of the error is sometimes essential to diagnosing the problem, but the type itself is too long to be displayed in the terminal in a useful fashion. This change solves this dilemma by writing the full offending type name to a file, and displays this filename as a note.

> note: the full type name been written to '$TEST_BUILD_DIR/issues/issue-22638/issue-22638.long-type.txt'

Closes #76777