<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>compiler on Santiago Pastorino</title><link>https://santiagopastorino.com/tags/compiler/</link><description>Recent content in compiler on Santiago Pastorino</description><generator>Hugo -- gohugo.io</generator><managingEditor>spastorino@gmail.com (Santiago Pastorino)</managingEditor><webMaster>spastorino@gmail.com (Santiago Pastorino)</webMaster><lastBuildDate>Thu, 20 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://santiagopastorino.com/tags/compiler/index.xml" rel="self" type="application/rss+xml"/><item><title>RPITs, RPITITs and AFITs and their relationship</title><link>https://santiagopastorino.com/2022/10/20/what-rpits-rpitits-and-afits-and-their-relationship/</link><pubDate>Thu, 20 Oct 2022 00:00:00 +0000</pubDate><author>spastorino@gmail.com (Santiago Pastorino)</author><guid>https://santiagopastorino.com/2022/10/20/what-rpits-rpitits-and-afits-and-their-relationship/</guid><description>This is the first blog post as part of a series of blog posts that will try to explain how impl trait in return position inside and outside traits and async fns in traits works. This first blog post summarizes the concepts with some simple examples. In the following ones we would be explaining a bit about the internal details.
What is an RPIT? RPIT stands for Return Position Impl Trait.</description></item><item><title>Multiple defining uses of Type Alias Impl Traits</title><link>https://santiagopastorino.com/2021/06/16/multiple-defining-uses-of-taits/</link><pubDate>Wed, 16 Jun 2021 00:00:00 +0000</pubDate><author>spastorino@gmail.com (Santiago Pastorino)</author><guid>https://santiagopastorino.com/2021/06/16/multiple-defining-uses-of-taits/</guid><description>Disclaimer: this blog post comes from some notes I took meanwhile working on an Rust compiler issue and it&amp;rsquo;s not very polished but I&amp;rsquo;ve decided to publish it anyway.
A bug was reported to the compiler that involves type checking, inference, traits and in particular type alias impl traits (TAIT) with multiple defining uses and some other particular things about them. In this post we are going to explain how the system works as I was investigating this myself in order to fix this issue, what is the issue exactly about and then describe how we&amp;rsquo;ve solved the issue.</description></item></channel></rss>