]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/track-diagnostics.stderr
Add #[const_trait] where needed in tests.
[rust.git] / src / test / rustdoc-ui / track-diagnostics.stderr
1 error[E0308]: mismatched types
2   --> $DIR/track-diagnostics.rs:LL:CC
3    |
4 LL | const S: A = B;
5    |              ^ expected struct `A`, found struct `B`
6 -Ztrack-diagnostics: created at compiler/rustc_infer/src/infer/error_reporting/mod.rs:LL:CC
7
8 error: aborting due to previous error
9
10 For more information about this error, try `rustc --explain E0308`.