]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/check-trait-object-bounds-5.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / traits / check-trait-object-bounds-5.stderr
CommitLineData
29967ef6
XL
1error[E0271]: type mismatch resolving `<i32 as Is>::T == i64`
2 --> $DIR/check-trait-object-bounds-5.rs:23:5
3 |
4LL | fn is_obj<T: ?Sized + Obj>(_: &T) {}
5 | --- required by this bound in `is_obj`
6...
7LL | is_obj(x)
8 | ^^^^^^ expected `i64`, found `i32`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0271`.