I started to work on #4341, this is what I get so far, I'm not sure if this all that is needed to be done.
Lint by @seanmonstar
str::to_string() goes through a Formatter, str::into_string() is a direct copy and is apparently 5x faster.
I haven't properly benchmarked this yet, but a couple of runs with -m seem promising.
We might not…
Carried over from #4248
Critic review: https://critic.hoppipolla.co.uk/r/3392
Now #[dom_struct] also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector.
A lot of this was generated by sed – each autogenerated ch…