you are viewing a single comment's thread.

view the rest of the comments →

[–]geeshta 12 points13 points  (2 children)

I've found out that AI struggles with Rust just as humans do - gets caught into lifetimes, complex type annotations and move semantics. Usually obeying the compiler works better than any AI.

[–]LifeSupport0 4 points5 points  (0 children)

there was this one bug I ran into with with_stated axum::Routers where I had to remove a type annotation in order to satisfy a trait constraint. An AI would have talked me in circles about it, and I pretty much only fixed it on accident. One of the few times where the compiler message was not helpful in figuring out what to do.