fn push_type_params<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
                                  substs: &Substs<'tcx>,
                                  output: &mut String) {
        if substs.types().next().is_none() {
            return;
        }

        output.push('<');

        for type_parameter in substs.types() {
            push_debuginfo_type_name(cx, type_parameter, true, output);
            output.push_str(", ");
        }

        output.pop();
        output.pop();

        output.push('>');
    }
// Pushes the type parameters in the given `Substs` to the output string.
// This ignores region parameters, since they can't reliably be
// reconstructed for items from non-local crates. For local crates, this
// would be possible but with inlining and LTO we have to use the least
// common denominator - otherwise we would run into conflicts.
Pushes the type parameters in the given `Substs` to the output string.
This ignores region parameters, since they can't reliably be
reconstructed for items from non-local crates. For local crates, this
would be possible but with inlining and LTO we have to use the least
common denominator - otherwise we would run into conflicts.
Pushes the type parameters in the given ` Substs ` to the output string . This ignores region parameters since they can ' t reliably be reconstructed for items from non - local crates . For local crates this would be possible but with inlining and LTO we have to use the least common denominator - otherwise we would run into conflicts .
fn push_type_params<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
                                  substs: &Substs<'tcx>,
                                  output: &mut String) {
        if substs.types().next().is_none() {
            return;
        }
        output.push('<');
        for type_parameter in substs.types() {
            push_debuginfo_type_name(cx, type_parameter, true, output);
            output.push_str(", ");
        }
        output.pop();
        output.pop();
        output.push('>');
    }
fn push_type_params < ' a , ' tcx > ( cx : & CrateContext < ' a , ' tcx > , substs : & Substs < ' tcx > , output : & mut String ) { if substs . types ( ) . next ( ) . is_none ( ) { return ; } output . push ( '<' ) ; for type_parameter in substs . types ( ) { push_debuginfo_type_name ( cx , type_parameter , true , output ) ; output . push_str ( " " ) ; } output . pop ( ) ; output . pop ( ) ; output . push ( '>' ) ; }
Pushes the type parameters in the given `Substs` to the output string.
Pushes the type parameters in the given ` Substs ` to the output string .
cx
&CrateContext<'a, 'tcx>
substs
&Substs<'tcx>
output
&mut String
cx
&CrateContext<'a, 'tcx>
substs
&Substs<'tcx>
output
&mut String