Rollup merge of #101556 - compiler-errors:tweak-generator-print, r=jackh726
Tweak future opaque ty pretty printing 1. The `Return` type of a generator doesn't need to be a lang item just for diagnostic printing of types 2. We shouldn't suppress the `Output = Ty` of a opaque future if the type is a int or float var.
This commit is contained in:
commit
bdfbc3597b
5 changed files with 7 additions and 7 deletions
|
@ -763,7 +763,6 @@ symbols! {
|
|||
gen_future,
|
||||
gen_kill,
|
||||
generator,
|
||||
generator_return,
|
||||
generator_state,
|
||||
generators,
|
||||
generic_arg_infer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue