Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #29383 - petrochenkov:empstr, r=pnkfelix
Fixes rust-lang/rust#28692 Fixes rust-lang/rust#28992 Fixes some other similar issues (see the tests) [breaking-change], needs crater run (cc @brson or @alexcrichton ) The pattern with parens `UnitVariant(..)` for unit variants seems to be popular in rustc (see the second commit), but mostly used by one person (@nikomatsakis), according to git blame. If it causes breakage on crates.io I'll add an exceptional case for it.
- Loading branch information