Closed
Description
rust/compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs
Lines 97 to 111 in b605c65
fn foo() -> impl ?Send {}
warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
--> src/lib.rs:1:18
|
1 | fn foo() -> impl ?Send {}
| ^^^^^
This should either be a (future-compat) lint or a hard-error.