about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorYiming Lei <yiming.lei@futurewei.com>2022-08-09 11:27:04 -0700
committerYiming Lei <yiming.lei@futurewei.com>2022-08-15 13:31:14 -0700
commit0471e2780fe528dae8b67ea3448e8ab641e8510e (patch)
treef466caa13f7b78fc8728e91e03d1538f7b4466da /compiler/rustc_llvm/llvm-wrapper
parent6d3f1beae1720055e5a30f4dbe7a9e7fb810c65e (diff)
downloadrust-0471e2780fe528dae8b67ea3448e8ab641e8510e.tar.gz
rust-0471e2780fe528dae8b67ea3448e8ab641e8510e.zip
when there are 3 or more return statements in the loop
emit the first 3 errors and duplicated diagnostic information
using take of iterator for the first third return
	modified:   compiler/rustc_typeck/src/check/coercion.rs
	new file:   src/test/ui/typeck/issue-100285.rs
	new file:   src/test/ui/typeck/issue-100285.stderr
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions