Lines Matching refs:param
90 let (param, punct) = pair.into_tuple();
91 match param {
92 GenericParam::Lifetime(param) => {
93 if !param.bounds.is_empty() && !has_unsupported_generic_param {
95 cx.error(¶m, msg);
98 lifetimes.push_value(param.lifetime);
103 GenericParam::Type(param) => {
106 cx.error(¶m, msg);
110 GenericParam::Const(param) => {
113 cx.error(¶m, msg);
547 || generics.params.iter().any(|param| match param {
796 let (param, punct) = pair.into_tuple();
797 match param {
798 GenericParam::Lifetime(param) => {
799 if !param.bounds.is_empty() && !has_unsupported_generic_param {
801 cx.error(¶m, msg);
804 lifetimes.push_value(param.lifetime);
809 GenericParam::Type(param) => {
812 cx.error(¶m, msg);
816 GenericParam::Const(param) => {
819 cx.error(¶m, msg);
1029 let (param, punct) = pair.into_tuple();
1030 match param {
1299 let (param, punct) = pair.into_tuple();
1300 if let GenericArgument::Lifetime(param) = param {
1301 lifetimes.push_value(param.clone());