Explicitly Declare
A warning is triggered when the net declaration is implicit.
Place the editor cursor on the warning’s line and press Ctrl+1, select “Explicitly declare …” from the list of quick fix proposals and press Enter.
The type of the new net declaration is automatically detected from context.