2020-05-31 13:19:09 +02:00
|
|
|
fn foo<T>(x: T)
|
|
|
|
where
|
|
|
|
T: Debug
|
|
|
|
{
|
|
|
|
|
2021-03-07 07:12:01 +01:00
|
|
|
pub async fn foo<T>(x: T)
|
|
|
|
where
|
|
|
|
T: Debug
|
|
|
|
{
|
|
|
|
|
|
|
|
pub(in std::fmt) const unsafe extern "C" fn foo<T>(x: T)
|
|
|
|
where
|
|
|
|
T: Debug
|
|
|
|
{
|
|
|
|
|
2020-05-31 13:19:09 +02:00
|
|
|
fn foo<T>(x: T) where T: Debug {
|
|
|
|
|
|
|
|
impl<T> X for T
|
|
|
|
where
|
|
|
|
T: Debug
|
|
|
|
{
|
|
|
|
|
|
|
|
impl<T> X for T where T: Debug {
|
|
|
|
|
|
|
|
struct X<T>
|
|
|
|
where
|
|
|
|
T: Debug
|
|
|
|
{
|
|
|
|
|
2021-03-07 07:22:43 +01:00
|
|
|
pub(crate) struct X<T>
|
|
|
|
where
|
|
|
|
T: Debug
|
|
|
|
{
|
|
|
|
|
2020-05-31 13:19:09 +02:00
|
|
|
struct X<T> where T: Debug {
|
|
|
|
|
|
|
|
enum X<T>
|
|
|
|
where
|
|
|
|
T: Debug
|
|
|
|
{
|
|
|
|
|
|
|
|
enum X<T> where T: Debug {
|
|
|
|
|
|
|
|
union X<T>
|
|
|
|
where
|
|
|
|
T: Debug
|
|
|
|
{
|
|
|
|
|
|
|
|
union X<T> where T: Debug {
|
|
|
|
|
2020-09-27 09:52:42 +02:00
|
|
|
if foo()
|
|
|
|
&& bar()
|
|
|
|
{
|
|
|
|
|
|
|
|
for x in group
|
|
|
|
.iter()
|
|
|
|
.sorted_by(|a, b| Ord::cmp(&a.0, &b.0))
|
|
|
|
{
|
|
|
|
|