hang on, that would enforce actual examples for a given method, yea?
-
-
-
Correct!
- 2 more replies
New conversation -
-
-
this is easy to implement within rustdoc, but rustdoc doesn't do lints this is tricky to implement in rustc bc rustc would have to parse the markdown, which it currently doesn't do. would be nice to have though , cc
@QuietMisdreavus -
we have the framework to register and emit our own lints now, actually, so this could be possible we already have a rustdoc-only lint in "intra-doc-link-resolution-failure", so adding a new rustdoc-only lint basically involves a little infra and the detection code
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.