Skip to content

请问一下,clion和rustRover 编辑器不识别 #[html_sql("...")] 和 impl_select! 绑定方法,有什么办法解决了 #477

Answered by zhuxiujia
tpc-ht asked this question in Q&A
Discussion options

You must be logged in to vote

相关版本 rbatis: 4.3 rust: 1.74.1

目前项目运行没有问题!

1 编辑器需要cargo build 生成函数后才会智能提示
2 你需要运行rustup update 更新rust的编译器版本到1.75(最新版本Rbatis 需要支持最新的特性 async trait)
3 你可以改成htmlsql!() 宏来实现这个函数,这样编辑器可以直接智能提示,不用等编译完成

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tpc-ht
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants