about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-09-19 20:45:00 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-09-19 22:14:40 -0500
commit1512ce5925eeafc01f011c46216c157e4e5644cb (patch)
tree60e16916a82a26a1635edc0db527588a5c76d286 /compiler/rustc_codegen_gcc
parent749dec64519b5bdfe688cb945eeee5afd6ab68d0 (diff)
downloadrust-1512ce5925eeafc01f011c46216c157e4e5644cb.tar.gz
rust-1512ce5925eeafc01f011c46216c157e4e5644cb.zip
Make cycle errors recoverable
In particular, this allows rustdoc to recover from cycle errors when normalizing associated types for documentation.

In the past, `@jackh726` has said we need to be careful about overflow errors:

> Off the top of my head, we definitely should be careful about treating overflow errors the same as
"not implemented for some reason" errors. Otherwise, you could end up with behavior that is
different depending on recursion depth. But, that might be context-dependent.

But cycle errors should be safe to unconditionally report; they don't depend on the recursion depth, they will always be an error whenever they're encountered.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions