This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
19c65022fc
rust
/
tests
/
ui
/
traits
/
new-solver
/
cast-checks-handling-projections.rs
7 lines
92 B
Rust
Raw
Normal View
History
Unescape
Escape
Add test for bad cast with deferred projection equality
2023-02-20 15:02:04 -06:00
// compile-flags: -Ztrait-solver=next
Propagate expected return type instead of real return type in check_binop
2023-03-09 11:11:30 -06:00
// check-pass
Add test for bad cast with deferred projection equality
2023-02-20 15:02:04 -06:00
fn
main
(
)
{
(
0
u8
+
0
u8
)
as
char
;
}
Reference in New Issue
Copy Permalink