mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Update rustdoc-ui test
This commit is contained in:
@@ -11,3 +11,4 @@
|
||||
//~^ ERROR mismatched types
|
||||
//~| NOTE created at
|
||||
//~| NOTE expected `A`, found `B`
|
||||
//~| NOTE expected because of the type of the const
|
||||
|
||||
@@ -2,7 +2,9 @@ error[E0308]: mismatched types
|
||||
--> $DIR/track-diagnostics.rs:LL:CC
|
||||
|
|
||||
LL | pub const S: A = B;
|
||||
| ^ expected `A`, found `B`
|
||||
| - ^ expected `A`, found `B`
|
||||
| |
|
||||
| expected because of the type of the constant
|
||||
|
|
||||
= note: -Ztrack-diagnostics: created at compiler/rustc_trait_selection/src/error_reporting/infer/mod.rs:LL:CC
|
||||
|
||||
|
||||
Reference in New Issue
Block a user