We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38013fb commit 0a60c29Copy full SHA for 0a60c29
2 files changed
tests/ui/upcasting.rs
@@ -3,7 +3,6 @@
3
// SPDX-License-Identifier: MIT OR Apache-2.0
4
5
#![crate_type="lib"]
6
-#![feature(trait_upcasting)]
7
8
#[klint::drop_preempt_count(expect = 0)]
9
trait A {}
tests/ui/upcasting.stderr
@@ -1,7 +1,7 @@
1
error: casting between traits with incompatible preemption count properties
2
- --> $DIR/upcasting.rs:15:5
+ --> $DIR/upcasting.rs:14:5
|
-15 | x
+14 | x
| ^
= help: adjustment of `dyn B` is 0 and expectation is 1
0 commit comments