We run a well oiled machine.
Step 1, @eliza complains: https://nitter.net/mycoliza/status/1592248742060920832
Step 2, we fix it: https://github.com/rust-lang/rust/pull/104469
Step 3, it lands on nightly: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=043ea14f2d5e54113fc40b5b175d18ed
From now on, obligations introduced by trait bounds will check whether the type is longer than 50 chars, and if it is, dump it into a file so that the CLI output doesn't become an unreadable mess.
#rust #rustlang
Step 1, @eliza complains: https://nitter.net/mycoliza/status/1592248742060920832
Step 2, we fix it: https://github.com/rust-lang/rust/pull/104469
Step 3, it lands on nightly: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=043ea14f2d5e54113fc40b5b175d18ed
From now on, obligations introduced by trait bounds will check whether the type is longer than 50 chars, and if it is, dump it into a file so that the CLI output doesn't become an unreadable mess.
#rust #rustlang
Make "long type" printing type aware and trim types in E0275 by estebank · Pull Request #104469 · rust-lang/rust
Instead of simple string cutting, use a custom printer to hide parts of long printed types. On E0275, check for type length before printing.GitHub
(Nitter addon enabled: Twitter links via https://nitter.net)
This entry was edited (4 months ago)