about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-09-23 20:13:02 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-10-17 19:16:40 -0400
commit47a443c50dbeee88cadc78e5c938f3e6d04d6f6b (patch)
treeaa9f513c185bfe4f777e94bcdd2befbeb3ebbe33 /src/test/debuginfo/enum-thinlto.rs
parentfa0f7d0080d8e7e9eb20aa9cbf8013f96c81287f (diff)
downloadrust-47a443c50dbeee88cadc78e5c938f3e6d04d6f6b.tar.gz
rust-47a443c50dbeee88cadc78e5c938f3e6d04d6f6b.zip
Duplicate lint specifications are always bug!
Replace early_error and sess.err with bug!, in all cases. If the
compiler we're running with, including plugins, is registering something
twice, that's a (compiler/plugin) programmer error -- we should not try
to be nice at the cost of developer ergononomics (hiding the stacktrace
of the second registration is bad).

This also is basically a static bug in ~all cases so it should not be a
detriment to users, including with plugins.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions