Rocket - use of undeclared crate or module 'rocket'

Hi all,

I try to understand why the error come to me, I declared the rocket library but it is not work well.
please kindly guide me if the error is so basic.

The error message in the image is "use of undeclared crate or module 'rocker'".

Do you have a typo on line 27?

1 Like

Please post text as text, not as images.

Besides the typo, you are also calling your own crate rocket – not sure if that's a problem, but it might be confusing for the compiler. (It certainly is confusing for human consumers of the code.)


Hi friend,

I follow this code:

AND i got it, thanks for your reading, I done and solved issue. :smiley:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.