We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1854f8b commit e5c645fCopy full SHA for e5c645f
compiler/rustc_passes/src/stability.rs
@@ -555,7 +555,7 @@ impl Visitor<'tcx> for Checker<'tcx> {
555
.iter()
556
.find(|a| a.has_name(sym::unstable))
557
.map_or(item.span, |a| a.span);
558
- self.tcx.sess.span_warn(
+ self.tcx.sess.span_err(
559
span,
560
"An `#[unstable]` annotation here has no effect. \
561
See issue #55436 <https://github.com/rust-lang/rust/issues/55436> for more information.",
0 commit comments