We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c9d28d commit 5cd3cc1Copy full SHA for 5cd3cc1
src/test/ui/type-alias-impl-trait/constrain_inputs_unsound.rs
@@ -26,6 +26,6 @@ fn extend_lifetime(s: &str) -> Box<dyn AsRef<str> + 'static> {
26
}
27
28
fn main() {
29
- //let extended = extend_lifetime(&String::from("hello"));
30
- //println!("{}", extended.as_ref().as_ref());
+ let extended = extend_lifetime(&String::from("hello"));
+ println!("{}", extended.as_ref().as_ref());
31
0 commit comments