Skip to content

Commit 892cd8a

Browse files
author
Keegan McAllister
committed
Link to demo
1 parent 1542543 commit 892cd8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

active/0000-loadable-lints.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ Internally, lints are identified by the address of a static `Lint`. This has a
147147

148148
User-defined lints are controlled through the usual mechanism of attributes and the `-A -W -D -F` flags to `rustc`. User-defined lints will show up in `-W help` if a crate filename is also provided; otherwise we append a message suggesting to re-run with a crate filename.
149149

150+
See also the [full demo](https://gist.github.com/kmcallister/3409ece44ead6d280b8e).
151+
150152
# Drawbacks
151153

152154
This increases the amount of code in `rustc` to implement lints, although it makes each individual lint much easier to understand in isolation.

0 commit comments

Comments
 (0)