Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
layout
/
uncomputable-due-to-trivial-bounds-ice-135138.rs
blob: 8015a2fe081f126408ed08df2f196ac6384c0b75 [
file
] [
log
] [
blame
]
#![
feature
(
trivial_bounds
)]
fn
return_str
()
where
str
:
Sized
,
{
[();
{
let
_a
:
Option
<
str
>
=
None
;
0
}];
//~^ ERROR entering unreachable code
//~| NOTE evaluation of `return_str::{constant#0}` failed here
}
fn
main
()
{}