rust/compiler/rustc_trait_selection/src
kadmin e4e5db4e42 Add has_default to GenericParamDefKind::Const
This currently creates a field which is always false on GenericParamDefKind for future use when
consts are permitted to have defaults

Update const_generics:default locations

Previously just ignored them, now actually do something about them.

Fix using type check instead of value

Add parsing

This adds all the necessary changes to lower const-generics defaults from parsing.

Change P<Expr> to AnonConst

This matches the arguments passed to instantiations of const generics, and makes it specific to
just anonymous constants.

Attempt to fix lowering bugs
2021-03-23 17:16:20 +00:00
..
traits Add has_default to GenericParamDefKind::Const 2021-03-23 17:16:20 +00:00
autoderef.rs Remove ProjectionTy::from_ref_and_name 2021-02-13 19:29:55 +00:00
infer.rs Fix use of bare trait objects everywhere 2021-03-18 02:18:58 +03:00
lib.rs stabilize or_patterns 2021-03-19 19:45:32 -05:00
opaque_types.rs Special case type aliases from impl trait in const/static types 2021-03-15 17:33:28 +00:00