We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 104379d commit 7d5c7c3Copy full SHA for 7d5c7c3
src/ast/README.md
@@ -12,6 +12,7 @@
12
13
## 注意事项
14
15
+
16
- 修改`Ctx`结构体成员或者增加函数的时候,若不熟悉rust或者代码,容易出现生命周期问题。若出现此类问题,请按照以下三点依次尝试:
17
- `Ctx`中所有直接或间接由`context`生成的类型(几乎都是inkwell库中的类型)的生命周期泛型应该为`'ctx`
18
- 所有被borrow的字段的borrow的生命周期应该为`'a`,除了`context`字段(`context`生命周期是`'a`)
0 commit comments