Auto merge of #16139 - jimmyhmiller:master, r=Veykril

Make functions in impl have a container name

fixes #16015
This commit is contained in:
bors 2024-01-02 14:08:37 +00:00
commit df94a87ea8
3 changed files with 115 additions and 44 deletions

View file

@ -414,6 +414,12 @@ impl Struct {
fn impl_fn() {}
}
struct StructT<T>;
impl <T> StructT<T> {
fn generic_impl_fn() {}
}
trait Trait {
fn trait_fn(&self);
}